GlobalEvents

Configs

4

Properties

3

Class hierarchy

isEventsEvents

Misc

Other

Functions

10

Events

4

Fired after the theme is changed

// Adding a listener using the "on" method
globalEvents.on('theme', ({ source, theme }) => {

});
ParameterTypeDescription
sourceGlobalEvents
themeString

The new theme name

catchAllEvents
destroyEvents

Event handlers

4

Called after the theme is changed

new GlobalEvents({
    onTheme({ source, theme }) {

    }
});
ParameterTypeDescription
sourceGlobalEvents
themeString

The new theme name

onDestroyEvents

Typedefs

1