Gardr Send Size Plugin (Ext)
Gardr plugin for sending size of an iframe content to host at any given time.
Install
npm install gardr-plugin-ext-send-size --save
Bundle
In your ext bundle file:
var gardrExt = ; var sendSize = ; gardrExt; moduleexports = gardrExt;
Usage
This plugin uses cross-domain-events to communicate between frames with "plugin:send-size" namespace.
To trigger it in host:
var xde = ; xde; xde; // send plugin:send-size trigger to iframe inside div#banner