Pages
Ui
Represents the store which all components connect to.
States
Wether or not to show dark mode.
Window.addMediaQueryListener(
"(max-width: 1000px)",
(active : Bool) { next { mobile = active } })
A media query listener for to set mobile property.
Wether or not we are in a mobile view.
Functions
disabledHandler
(
disabled
:
Bool
handler
:
Function(a, Promise(Never, Void))
)
:
Function(a, Promise(Never, Void))
A function to not do anything based on a disabled argument.
Resolves a theme.
Sets the dark mode state.