GlobalEvents
Singleton
A singleton that fires global application-level events such as theme changes and focus transitions. It also tracks the current interaction type (mouse, keyboard, or touch) and the active pointer state. Listen for events using the standard Events API.
GlobalEvents.on({
theme({ theme }) {
// react to theme changes here
}
});
See also
- Events - The event handling mixin
Note: Class is a singleton and all members listed below can be accessed as static ones.
No results