Module: structure/pure/Text

The text-tag defines static (non-changing) text to be displayed on a page. The content of a <label> with free text.

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

Example

Configuration example of a centered text widget

 <text align="center">
  <label>Example text</label>
</text>

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