active
("active", () => void): this;
Emitted when an element becomes the active element in a controller. This is called immediately after any notactive
event is emitted on the previously active element.
Returns
this
Handler Function
When the active
event is fired, attached handler functions are called with no parameters.