@dialstack/sdk-dev / js/src / MaterializedButton
Interface: MaterializedButton
Defined in: sdk/js/src/types/button.ts:145
Properties
compatibility
compatibility: ButtonCompatibilityVerdict;
Defined in: sdk/js/src/types/button.ts:166
label
label: string;
Defined in: sdk/js/src/types/button.ts:147
override?
override?: string | null;
Defined in: sdk/js/src/types/button.ts:161
override_id?
override_id?: string | null;
Defined in: sdk/js/src/types/button.ts:163
Deprecated
Use override. Retained for backwards compatibility.
position
position: number;
Defined in: sdk/js/src/types/button.ts:146
source
source: "template" | "override" | "template_overridden" | "model_default";
Defined in: sdk/js/src/types/button.ts:157
Where this button came from. model_default is a button the device model
gets for free because its hardware has no other way to reach the function
— it is stored nowhere, so it has neither template_button nor
override, but a device override at the same position shadows or
suppresses it like any other row.
source_user?
source_user?: string | null;
Defined in: sdk/js/src/types/button.ts:165
The user the phone serves, whose layout this is; null when it serves nobody.
target
target: ButtonTarget;
Defined in: sdk/js/src/types/button.ts:149
template_button?
template_button?: string | null;
Defined in: sdk/js/src/types/button.ts:158
template_button_id?
template_button_id?: string | null;
Defined in: sdk/js/src/types/button.ts:160
Deprecated
Use template_button. Retained for backwards compatibility.
type
type: ButtonType;
Defined in: sdk/js/src/types/button.ts:148