SiteOrigin Attribute Feature
The SiteOrigin Attribute feature provides a convenient method for adding data attributes to widgets. Many of Echelon's interactive functionality (modal, off canvas, toggle) require attributes to be set on widgets, the attribute feature makes this easy to do.
Keys & Values
Attributes can be added to widgets, rows and cells, they are comprised of two parts. The Key and the Value. For the attribute to be applied to the element both a key and a value are required. Attributes are added under the Attributes Menu. Attributes are added to the HTML in the format [key]="[value]" e.g.
uk-toggle="target: #target"
For Echelon features and widgets that require an Attribute to function details are provided on their respective pages.