Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

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.

  • No labels