Methods
(static) init() → {void}
- Source
- Type:
- void
(static) onBackgroundImageUriChanged() → {void}
- Source
- Type:
- void
(static) onIsLoadingChanged() → {void}
Triggered when the isLoading boolean component field is changed
- Source
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
| Name | Type | Description |
|---|---|---|
key | string | |
press | boolean |
- Source
- Type:
- boolean
(static) onLoadingTextChanged() → {void}
- Source
- Type:
- void
(static) onTestToast() → {void}
DEBUG: Triggered when testToast field is set from the BrightScript console. Format: "type|message" where type is "error", "success", "warning", or "info". Falls back to "error" type if no pipe delimiter is found.
Usage from BrightScript console (port 8085): m.top.getScene().testToast = "error|Something went wrong" m.top.getScene().testToast = "success|Item saved" m.top.getScene().testToast = "info|Loading filters..." m.top.getScene().testToast = "Just a message"
- Source
- Type:
- void
(static) refreshBackdropSetting() → {void}
Re-evaluate and apply the backdrop visibility setting Useful when settings change at runtime (e.g., from Settings screen)
- Source
- Type:
- void
(static) setBackgroundImage(uri, isAnimatedopt, forceBackdropopt) → {void}
Set the background image with animation control
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
uri | string | The image URI to display | ||
isAnimated | boolean | <optional> | true | Whether to animate the transition |
forceBackdrop | boolean | <optional> | false | Force show backdrop regardless of user setting (used for login splashscreen) |
- Source
- Type:
- void
(static) showToast(message, toastTypeopt) → {void}
showToast: Display a transient toast notification.
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
message | string | The message to display | ||
toastType | string | <optional> | "error" | "error", "success", or "info" |
- Source
- Type:
- void