API REFERENCE · OVERLAYS
<dj-context-popup>
Right-click (contextmenu) on the trigger (default slot) opens a <dj-popup> at the cursor, holding the content slot. Emits dj-open when it opens and dj-close (on this element; it does not bubble) when it closes.
npm install @dojo-ng/context-popup
import "@dojo-ng/context-popup";
Properties
| Property | Attribute | Type | Default |
|---|---|---|---|
open |
open reflected |
boolean |
false |
Events
dj-opendj-close
Slots
Default slotcontent