TemplateElement
Wraps a generic element that otherwise could not be placed directly into a template document tree. Useful when custom tags which are placed inside a template produce non-template tree elements.
Attributes
- Graph
- Supertypes
- trait RewritableContainertrait ElementTraversaltrait TemplateSpantrait Spanclass Elementtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
Type members
Types
Value members
Concrete methods
Rewrites all children of this container based on the specified rules.
Rewrites all children of this container based on the specified rules.
Concrete types are expected to support rewriting at least for all standard block, span and template span elements they contain, plus optionally for any other elements that have custom support for rewriting.
Attributes
Returns a new instance of this element with the specified options replacing the current value.
Returns a new instance of this element with the specified options replacing the current value.
Attributes
Inherited methods
Collects elements by applying the partial function to all elements it is defined for, in depth-first traversal, including this element itself.
Collects elements by applying the partial function to all elements it is defined for, in depth-first traversal, including this element itself.
Attributes
- Inherited from:
- ElementTraversal
Invokes the specified function for each child of this element container, including children of children, and this element itself, in depth-first traversal.
Invokes the specified function for each child of this element container, including children of children, and this element itself, in depth-first traversal.
Attributes
- Inherited from:
- ElementTraversal
Indicates whether this element has an id assigned.
Indicates whether this element has the specified style assigned.
Returns a new instance of this element with its options merged with the specified options.
Returns a new instance of this element with its options merged with the specified options.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.
Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.
Attributes
- Inherited from:
- Element
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Rewrites all span children of this container based on the specified rules.
Rewrites all span children of this container based on the specified rules.
Concrete types are expected to support rewriting at least for all standard block, span and template span elements they contain, plus optionally for any other elements that have custom support for rewriting.
Attributes
- Inherited from:
- RewritableContainer
Selects all elements satisfying the specified predicate, collecting in depth-first traversal, including this element itself.
Selects all elements satisfying the specified predicate, collecting in depth-first traversal, including this element itself.
Attributes
- Inherited from:
- ElementTraversal
Returns a new instance of this element with its id set to the specified value, overriding any existing value.
Returns a new instance of this element with its id set to the specified value, overriding any existing value.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the specified style added to its existing styles.
Returns a new instance of this element with the specified style added to its existing styles.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the specified styles added to its existing styles.
Returns a new instance of this element with the specified styles added to its existing styles.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the specified styles added to its existing styles.
Returns a new instance of this element with the specified styles added to its existing styles.
Attributes
- Inherited from:
- Element