Theme Changed Event

An Adaptable Event which fires when the Theme in AdapTable changes.


This event fire irrespective of whether its a System or Custom Theme that has been selected


The ThemeChangedInfo object contains just one property - the newly selected theme


This property can be either the name of a (System) theme or the (Custom) Theme itself

themeSelected Theme: either name of a (System) theme or the (Custom) Theme itself

Event Subscription

Subscribing to the Event is done the same as with all Adaptable Events:

api.eventApi.on('ThemeChanged', (eventInfo: ThemeChangedInfo) => {
// do something with the info

More Information