JavaScript

A5.ViewBoxLayout Object

IN THIS PAGE

Description

Definition of a layout in the view box.

Properties

typestring

The type of layout. The layout can be "static", in which case HTML will be injected into the view box, of "template" (the default), in which case the contents of the view box will be derived from the passed in template.

htmlstringfunction

If the type is "static", then the HTML to use in the view box. HTML can be a string, or a function that will return an HTML string.

templatestring

If the type if "template", then the template to use to generate the HTML for the view box. See A5.u.template.

htmlstring

The HTML to draw.