The Header UDR
is used to 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 a h2 element this code can be used
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 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. |
id (string) | This field may contain the id of the component. |
text (string) | This field must contain the header text. |
Add Comment