API REFERENCE · OVERLAYS
<dj-trigger-popup>
Clicking the trigger (default slot) opens a <dj-popup> anchored to it, holding the content slot. match-width sizes the popup to the trigger.
npm install @dojo-ng/trigger-popup
import "@dojo-ng/trigger-popup";
Properties
| Property | Attribute | Type | Default |
|---|---|---|---|
open |
open reflected |
boolean |
false |
position |
position reflected |
"above""below""left""right" |
"below" |
matchWidth |
match-width |
boolean |
true |
underlayVisible |
underlay-visible |
boolean |
false |
Events
dj-open
Slots
Default slotcontent