class webfwt::Popup
sys::Obj fwt::Widget fwt::Pane fwt::ContentPane webfwt::Popup
@Js
Popup displays a content widget in a popup window.
- animate
-
Bool animate := true
Animate popup open/close/resize. Must be configured before
open
. - attach
-
static Void attach(Widget w, |Event| f)
Attach an "onPopup" event handler to the given widget.
- close
-
Void close()
Close this popup.
- find
-
Find and return the first parent Popup for the given widget, or null if no parent Popup can be found.
- halign
-
Halign halign := Halign.right
Horizontal alignment of popup, using
open(pos)
as origin. - move
-
Move popup to new point, where point is relative to parent widget passed to
open
. - onBeforeOpen
-
EventListeners onBeforeOpen()
Callback function directly before popup is opened.
- id:
EventId.open
- id:
- onClose
-
EventListeners onClose()
Callback function when popup is closed.
- id:
EventId.close
- id:
- onOpen
-
EventListeners onOpen()
Callback function when popup is open.
- id:
EventId.open
- id:
- open
-
This open(Widget parent, Point pos)
Open this popup at the coordinates relative to the parent widget.
- valign
-
Valign valign := Valign.bottom
Vertial alignment of popup, using
open(pos)
as origin.