API REFERENCE · OVERLAYS
<dj-context-menu>
Right-click the trigger (default slot) to open a menu of options; emits dj-select with the value.
npm install @dojo-ng/context-menu
import "@dojo-ng/context-menu";
Properties
| Property | Attribute | Type | Default |
|---|---|---|---|
options |
options |
ListOption[] |
[] |
Events
dj-select
Slots
Default slot
Types
The types that the properties above use, as they are declared in the source.
ListOption from @dojo-ng/list
export interface ListOption { value: string; label: string; disabled?: boolean; divider?: boolean; }