Gardr Options Plugin (Host)
Gardr plugin to pass options object from host into ext.
Install
npm install gardr-plugin-host-options --save
Bundle
In your host bundle file:
var gardrHost = ; var options = ; gardrHost; moduleexports = gardrHost;
Options
sendOptions
- boolean, enables/disables passing options into ext iframe.
Example
var gardr = ;gardr;
Usage
Options (except for circular referencing objects, such as DOM elements) will be available in ext iframe under gardr.params.options