v7.3.0
SupportExamplesFree Trial

Pluggable
Mixin

Enables using plugins for a class by specifying property plugins as an array of plugin classes. If only a single plugin is used, just give the plugin class instead of an array. This class isn't required for using plugins, just makes it easier. Without mixin you can otherwise use InstancePlugin.initPlugins(this, PluginClass).

new Store({
  plugins: [PluginClass, ...]
});

Useful configs

Config Description
plugins Array of plugin classes to instantiate on the host

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class
    • initPlugins( )
      internal

      Template method which may be implemented in subclasses to initialize any plugins. This method is empty in the Pluggable base class.

    Source path

    Core/mixin/Pluggable.js

    Contents