Skip to main content

Container/Substitution

Container

Whenever intrinsic attributes are to be applied to a multitude of tags all at once and said members are not already wrapped by another tag due to the nature of the template at hand, simply wrap them in an invisible container-tag such that they become logically grouped. This kind of grouping may come in handy as soon as conditionals, loops or bindings are to be employed to a greater scope.

Code-Blocks are only available within the browser

Substitution

Conditional Substitution

Let's say that a substitution is to be rendered conditionally - simply make use of Substitution Syntax in combination with conditionals.

Code-Blocks are only available within the browser

Parameterized Substitution

In order to parameterize a substitution and thereby gain access to reusable components, simply define attribute key-value-pairs, which will be introduced as let-bindings into the scope of the substituted markup.

Code-Blocks are only available within the browser