Class: Overlay

ui.Overlay

new ui.Overlay ()

Element representing a global UI overlay. User interactions are trapped within the overlay while it is being displayed.

Properties:
Name Type Description
dim bool

(default: false) Whether to dim what's underneath the overlay.

Extends

Methods

close ()

Closes the overlay.

show ()

Shows the overlay.