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; set match-width="false" to size it to its content. Emits dj-open when it opens and dj-close (on this element; it does not bubble) when it closes.
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-opendj-close
Slots
Default slotcontent