Methods

(static) init() → {void}

Returns:
Type: 
void

(static) onBackgroundImageUriChanged() → {void}

Returns:
Type: 
void

(static) onIsLoadingChanged() → {void}

Triggered when the isLoading boolean component field is changed

Returns:
Type: 
void

(static) onKeyEvent(key, press) → {boolean}

Parameters:
NameTypeDescription
keystring
pressboolean
Returns:
Type: 
boolean

(static) onLoadingTextChanged() → {void}

Returns:
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"

Returns:
Type: 
void

(static) refreshBackdropSetting() → {void}

Re-evaluate and apply the backdrop visibility setting Useful when settings change at runtime (e.g., from Settings screen)

Returns:
Type: 
void

(static) setBackgroundImage(uri, isAnimatedopt, forceBackdropopt) → {void}

Set the background image with animation control

Parameters:
NameTypeAttributesDefaultDescription
uristring

The image URI to display

isAnimatedboolean<optional>
true

Whether to animate the transition

forceBackdropboolean<optional>
false

Force show backdrop regardless of user setting (used for login splashscreen)

Returns:
Type: 
void

(static) showToast(message, toastTypeopt) → {void}

showToast: Display a transient toast notification.

Parameters:
NameTypeAttributesDefaultDescription
messagestring

The message to display

toastTypestring<optional>
"error"

"error", "success", or "info"

Returns:
Type: 
void