GlobalEvents
Configs
4
Configs
4Common
listenersEvents
Other
Properties
3
Properties
3Functions
10
Functions
10addListenerEvents
hasListenerEvents
onEvents
relayAllEvents
removeAllListenersEvents
removeListenerEvents
resumeEventsEvents
suspendEventsEvents
triggerEvents
unEvents
Events
4
Events
4Fired after the theme is changed
// Adding a listener using the "on" method
globalEvents.on('theme', ({ source, theme }) => {
});| Parameter | Type | Description |
|---|---|---|
source | GlobalEvents | |
theme | String | The new theme name |
beforeDestroyEvents
catchAllEvents
destroyEvents
Event handlers
4
Event handlers
4Called after the theme is changed
new GlobalEvents({
onTheme({ source, theme }) {
}
});| Parameter | Type | Description |
|---|---|---|
source | GlobalEvents | |
theme | String | The new theme name |
onBeforeDestroyEvents
onCatchAllEvents
onDestroyEvents
Typedefs
1
Typedefs
1BryntumListenerConfigEvents