element
Parameters
element
Closure used to generate a new HTML element for the given Decoration. Several elements will be created for a single decoration when using the BOXES layout. The Navigator will automatically position the created elements according to the decoration's Locator. The template is only responsible for the look and feel of the generated elements. Every child elements with a data-activable="1" HTML attribute will handle tap events. If no element has this attribute, the root element will handle taps.