Tag
Tags are basically HTML elements. They can be used to separate the different parts of the screen we want to generate.
The structure of a tag is the following:
<tag type="[type]" label="[label]" style="[style]" source="[source]" expandible="[expand-direction]">...</tag>
There is a special tag which only contains text defined like the next one:
<tag><text>[text]</text></tag>
Tag attributes
Atributo | Uso | Tipo | Descripción | Valores |
---|---|---|---|---|
source | Opcional | String | Template source to link to | buttons , center , etc |
type | Opcional | String | HTML tag type | div , span , p , etc |
label | Opcional | String | Text inside the tag | Note: You can use i18n files (locales) |
style | Opcional | String | Css class or classes to apply to the element | |
id | Opcional | String | Tag identifier. Useful for external references | |
expandible | Opcional | String | How to expand the tag children | vertical , horizontal |
Note: If the type is not defined, the tag element will not generate any HTML code. This is very useful to define source links (
<tag source="center">...</tag>
)