-
Notifications
You must be signed in to change notification settings - Fork 4
Overlays
Eric edited this page Jan 29, 2026
·
21 revisions
From any
Uxi, or object that extends theOverlayclass
const conf = {
anim: _ANIMATION_, //optional
display: _DISPLAY_OBJ_, //optional
close_on_click: true|function|false //optional
};
this.addOverlay(conf);
Add a custom display
const conf = {
display: {css: 'my_css', html:'<span>some text</span>'},
close_on_click: false
};
this.addOverlay(conf);
this.removeOverlay(_ANIMATION_, _CALL_BACK_);
Removing a popup without passing an animation will use the animation used when the popup was created. Passing an animation overrides it.
- Welcome
- Changelog
- Structure
- Configuration
- Getting started
- CLI
- Poly
- Core
- Templating
- Routing
- Controllers
- Components
- Extra Components
- Helpers
- Styling
- Debugging