With Component Reference

Table of Contents


Introduction

Syntax

tml`
	<With tagNamespace=${namespace}>
		Content that requires custom tags
	</With>`

The With component sets up a tag namespace specifies by the tagNamespace attribute for its content. This can also be done with other components using the standard tagNamespace attribute, but the With component provides a structured syntax.

Attributes

Children

All children are accepted as the content.

DOM element properties

The With component does not generate any DOM elements.