Skip to main content

Element

The Element Widget allows users to embed custom HTML snippets directly into the interface or layout. It provides flexibility to add static or dynamic HTML content, which can be easily managed and updated. Following are the properties to be configured for this widget:

PropertyDescriptionComments
Basic Configuration
Element TypeSelect whether the element is HTML or custom.-
Element NameChoose from options like a, abbr, address, area, article, aside, etc.-
TypeSpecify whether it is a Template or Text.-
Bindings
TextExpression binding for the text content.-
VisibilityExpression binder to control the visibility of the element.-
Enable/DisableExpression binder to set the element as enabled or disabled.-
ClickSelect an action from the click event dropdown.-
Attributes Configuration
NewClick to create a new entry for attributes.This reveals fields for Name, Value Type, and Value.
Value TypeSelect from one-way binding, two-way binding, or expression.-
Additional Event Bindings
TypeSpecify the type of event binding.-
EventSelect from the dropdown to define the event.-
Style and Layout
HeightSet the height of the element.-
WidthSet the width of the element.-
Unit TypeSelect unit type (px, rem, or %).-
StyleProvide CSS styles for the element.-
CSS ClassSpecify the CSS class for styling the element.-
Style Bindings
NameSpecify the name for the style binding.-
ValueExpression binder for the value of the style.-
Additional Configuration
IdProvide a unique identifier for the element.A default Id is created, which can be changed.
CommentIndicate if the element must be commented or not (Yes/No).This determines whether the element is in use or not.

Once the configuration is complete, click Update to save the changes and integrate the HTML snippet into the application.

note

An asterisk (*) denotes that the property is mandatory for adding an element.