Traits
Traits define the type and capabilities of your Custom Elements. They tell HELIO where and how your element can be used.
Common Traits Include:
traits.Controlcan be added to a Dashboard Page, a Dashboard Widget, or a Parameter Page.traits.Widgetcan be placed on a Dashboard Page.traits.Pagelet you create pages that take up the whole viewport of your HMI and will be made available in the main navigation.
In general elements can have multiple traits, allowing them to be
used in different contexts. But traits.Widget and traits.Control cannot
be used together. Therefore, an element cannot possess both of these
characteristics; it is either a widget or a control.
Learn more with the following resources:
- Learn how to apply traits using the Create a Control Element guide.
- Check out Extend HELIO Using the SDK to learn how you can build custom elements using the HELIO SDK.