• constructor

@iframe DocumentJS.tags.iframe

 

@iframe SRC [HEIGHT]

/**
 * A component for lib.
 * @body
 * See it in action:
 * @iframe lib/component/component.html 300
 */

Parameters

  1. SRC {String}

    The source of the html page.

  2. HEIGHT {Number}Optional

    The height of the html page. If a height is not provided, the height is determined as the content of the body.

Adds an iframe to the page. It can be added to the [documentjs/tags/body @body] or any other tags that accept a description.