Plugin Base
Plugins are ways to extend blink using DOMElement. Standard way to get your plugin
Getting your plugin
You need to use $b.getPlugin
which accepts a string.
Arguments
name (string)
: The name of the plugin to reference to.
Example usage for Retailigence:
var Retailigence = $b.getPlugin('retailigence')
Initializing your plugin
Arguments
[options={}] (Object)
: The options object.[options.surrogate] (reference)
: The current movie clip that contains your placeholder.[options.*] (*)
: Additional options specific to plugin
Example usage for Retailigence:
var r = new Retailigence({
surrogate: this,
api: 'products',
productId: '70001'
})