Runtime API — live
Every method on window.AccessibilityWidget, one click away.
Control
Features & profiles
Language
FAB position
Inspection
Methods
| Method | Signature | Purpose |
|---|---|---|
open(opts?) |
Promise<void> |
Open the panel |
close() |
void |
Close the panel |
reset() |
void |
Clear all preferences + reload |
set(id, value) |
Promise<void> |
Toggle a single feature |
applyProfile(id) |
Promise<boolean> |
Apply a profile preset |
setLocale(locale) |
Promise<boolean> |
Switch language at runtime |
setPosition(pos) |
void |
Move the FAB or reset to anchor |
getState() |
WidgetState | null |
Read the persisted state |
on(event, cb) |
() => void |
Subscribe to an event |
Live state
JSON dump of the persisted widget state — updates live
Initialising …
Source: window.AccessibilityWidget.getState() — poll interval 500 ms.