HTMLStateObserverElement
WebComponentHTMLStateObserverElementLess than 1 minute
A WebComponent for state observation;
Inherits from HTMLElement;
HTMLStateObserverElement serves as a base class,
inherited by:
HTMLDwebNavigationBarElement
HTMLDwebSafeAreaElement
HTMLDwebStatusBarElement
HTMLDwebVirtualKeyboardElement
Please do not use this class directly;
Properties
state
The StateObserver object passed in by inheriting classes
Methods
HTMLStateObserverElement.connectedCallback
Internal predefined method, do not override;
HTMLStateObserverElementdisconnectedCallback
Internal predefined method, do not override;
Events
"statechange"
Triggered when state changes;
Passes a CustomEvent object to listener;
Cross-Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
state | ✅ | ✅ | ✅ | X |
event statechange | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7