Control | QuickSettingsTile
QuickSettingsTile#
Description#
- Quick settings tile (Wi-Fi, Bluetooth, Do Not Disturb) with two separate touch zones: the body toggles or activates, and the detail area opens additional information.
Props#
icon(string) — Icon name in the desktop theme. Required.iconType('icon' | 'symbol') — Theme variant for the icon. Default:'symbol'.title(string) — Setting title, already translated. Required.status(string) — Status text, already translated («Connected to Home», «Off»).active(boolean | null) — If the tile toggles something:true/false. Innull(by default) it opens something else and does not carryaria-pressed. Default:null.detail(boolean) — Shows the detail area with › arrow. Default:false.detailLabel(string) — Accessible name of the detail area. Without it, «Details of» + the title.disabled(boolean) — «Not now»: cannot be touched, state stays as-is. Default:false.unavailable(boolean) — «This device does not have it»: looks off, shows «Not available», and cannot be touched. Default:false.unavailableLabel(string) — Unavailable text, already translated.loading(boolean) — While the change is being applied. Default:false.
Emits#
activate— Emitted when the body is touched (if not blocked orloading).detail— Emitted when the detail area is touched (if not blocked).
Usage#
| |
Notes#
- Title and status use
MarqueeText: if they do not fit, they scroll instead of being cut off. - Below 11.5 rem the icon circle is replaced by a small 16 px icon.
unavailableis different fromdisabled: the former means «this device does not have it», the latter means «not now».