Iframe Application

An application that loads its sources via iframe.

Create Package

$ node osjs generate:package --name=default/MyPackageName --type=iframe


Just follow your normal workflow.

Create a folder named data/ and make a file called index.html. This is what is loaded by default in main.js.

Bi-directional communication

You can communicate between OS.js and your IFrame application using the browser APIs and some helper methods.

Building and installation

$ node osjs build:manifest build:config build:package --name=default/MyName