BasePlugin

Parameters:
Name Type Description
hotInstance object

Handsontable instance.

Methods

addHook(name, callback)

Add listener to plugin hooks system.

Parameters:
Name Type Description
name string

The hook name.

callback function

The listener function to add.

callOnPluginsReady(callback)

Register function which will be immediately called after all plugins initialized.

Parameters:
Name Type Description
callback function

The listener function to call.

clearHooks()

Clear all hooks.

destroy()

Destroy plugin.

disablePlugin()

Disable plugin for this Handsontable instance.

enablePlugin()

Enable plugin for this Handsontable instance.

removeHooks(name)

Remove all hooks listeners by hook name.

Parameters:
Name Type Description
name string

The hook name.

Class: BasePlugin