Header UDR(3.3)

The Header UDR is used to create a header. A header is a text that is bigger than normal text. The size of the header can be chosen from 1-5.

To create an h2 element, you can use the following code:

Header h2 = udrCreate(Header); h2.text = "H2 Header"; h2.headerSize = 2;

The following fields are included in the Header UDR:

Field

Description

Field

Description

attributes (map<string,string>)

This field may contain extra attributes to be added.

cssClasses (list<string>)

This field may contain a list of extra values added to the class attribute. This is typically used to style the component. Please read more on Bootstrap.

headerSize (int)

This field may contain a size value between 1-5.
Default is 1

id (string)

This field may contain the id of the component.

text (string)

This field must contain the header text.