Iframe

Iframe is a component that allows to place iframe element on a page. It inherits from view.


Full code of the example in the picture

Initialization

To init the component you need to perform a simple procedure - call initialization code.

Initialization code or an object constructor, lets you create an object by using common declaration.

dhx.ui ({view:"iframe", 
...})

Parameters

In constructor you can specify the following parameters:

  • src - the URL of the document which you like to show in an iframe

Please note, iframe is a derived class, i.e. it inherits all the features of the base class (iframe → view).

dhx.ui({ 
        rows:[ {view:"iframe", id:"bottom", src:"http://google.com" }]
})

Related how-tos