NotificationSelectAction
A notification action that can be displayed as a drop-down select in the Windows toast notification.
import { NotificationSelectAction } from '@mobrowser/api';
Properties
text
readonly text: string;
The text label of the select.
items
readonly items: string[];
The items to display in the select drop-down.
action
readonly action: (notification: Notification, item: string) => void;
The callback function to invoke when the user selects an item.
notification: The notification that the action belongs to. item: The item that the user selected.