Module: structure/pure/Line

A line tag is used to display a horizontal line in the browser to allow for a grouped and thereby tidy display of
elements on one page. To specify the width of the line an optional <layout/>-child can be added.

Since:
  • 0.8.0 (2012)
Author:
  • Christian Mayer
Source:

Example

A line tag which uses 50% of the screen size (6 of 12 available columns)

 <line>
  <layout colspan="6"/>
</line>

Requires

Methods


<inner> create(element, path, flavour, type)

Creates the widget HTML code

Parameters:
Name Type Description
element Element

DOM-Element

path String

internal path of the widget

flavour String

Flavour of the widget

type String

Page type (2d, 3d, ...)

Source:
Returns:

HTML code

Type
String