id | title | officialDoc |
---|---|---|
devsettings |
DevSettings |
DevSettings
provides methods for developers.
Alias for unit => unit
.
Alias for string
.
Alias for string
.
To add a custom entry to the developer menu. As arguments, takes a title
(of
type string
) and a handler
function (of type unit => unit
) to be called
when the menu item is pressed.
addMenuItem: (title, handler) => unit
To trigger a reload of the application.
reload: unit => unit
To trigger a reload of the application, with a reason
(of type string
) which
may be useful for debugging.
reloadWithReason: reason => unit