Interface MenuOptions

interface MenuOptions {
    actions: MenuActionOptions[];
    autoClose?: boolean;
    title?: string;
}

Properties

A list of menu actions.

autoClose?: boolean

Whether to automatically close the contextual menu when an action is clicked or not.

title?: string

A title to display as header of the contextual menu.