Name: iframes
Owner: Reddit
Description: null
Created: 2015-12-22 00:32:33.0
Updated: 2018-04-02 23:09:11.0
Pushed: 2018-03-26 22:12:50.0
Homepage: null
Size: 30
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A library for interacting with <iframes />
.
Initial release
Transform modules to commonjs
yarn add @r/frames -s
rt * as frames from '@r/frames';
arent window
es.listen('dfp');
es.receiveMessageOnce('init.dfp', () => {
do stuff.
frame
es.postMessage(window.parent, 'init.dfp', data);