Internal
Optional
persister: StatefuleRendererPluginPersisterProtected
Readonly
emitterAn event emitter for handling custom events.
Adds an event listener for a specific event.
The type of the event key.
An object with a remove
method to unsubscribe the listener.
Registers an event listener handle to be managed by the plugin. Managed listeners will be automatically removed when the plugin is torn down.
The event listener handle to manage.
Tears down the plugin by removing all managed event listeners and clearing the event emitter. This method is called when the plugin is being destroyed.
The plugin context provided during teardown.
Protected
isChecks if the plugin has been torn down.
true
if the plugin has been torn down, otherwise false
.
Plugin that handles the active categories for the asset preview. It is responsible for managing the state of the active categories and persisting it to the URL query, as well as syncing it with the layer manager.