v7.3.0

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

Events

Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

Event handlers

Event handlers are callbacks called as a result of certain actions in this class

Source path

Core/GlobalEvents.js

Contents