Sha256: 125582a93d66ca78e31916714e46019913d6e023e3ae06d03d45118d0b7c63a7
Contents?: true
Size: 588 Bytes
Versions: 18
Compression:
Stored size: 588 Bytes
Contents
export class VPostMessage { constructor(options, params, event, root) { this.params = params; this.event = event; this.root = root; } call(results) { return new Promise((resolve) => { console.log('Post Message: ' + this.params.message); window.parent.postMessage(this.params.message, '*'); results.push({ action: 'close_frame', statusCode: 200, }); // Otherwise, proceed with the next action: return resolve(results); }); } }
Version data entries
18 entries across 18 versions & 2 rubygems