class type t =Inheritsobject
..end
method isPlugin : bool Js.t Js.prop
true
in this class to identify an object as an instantiated Plugin, or subclass thereof.
Defaults to: true
method clonePlugin : 'a. 'a Js.t Js.optdef -> unit Js.meth
Creates clone of the plugin.
Parameters:
_ Js.t
(optional)
Additional config for the derived plugin.
method destroy : unit Js.meth
The destroy method is invoked by the owning Component at the time the Component is being destroyed.
The supplied implementation is empty. Subclasses should perform plugin cleanup in their own implementation of this method.
method disable : unit Js.meth
The base implementation just sets the plugin's disabled
flag to true
Plugin subclasses which need more complex processing may implement an overriding implementation.
method enable : unit Js.meth
The base implementation just sets the plugin's disabled
flag to false
Plugin subclasses which need more complex processing may implement an overriding implementation.
method getCmp : 'b. 'b Js.t Js.meth
Returns the component to which this plugin is attached.
Returns:
#Ext_Component.t Js.t
Owner component.
method init : 'c. 'c Js.t -> unit Js.meth
The init method is invoked after initComponent method has been run for the client Component.
The supplied implementation is empty. Subclasses should perform plugin initialization, and set up bidirectional links between the plugin and its client Component in their own implementation of this method.
Parameters:
#Ext_Component.t Js.t
The client Component which owns this plugin.
method setCmp : 'd. 'd Js.t -> unit Js.meth
Sets the component to which this plugin is attached.
Parameters:
#Ext_Component.t Js.t
Owner component.