Caution Component Reference

Table of Contents


Introduction

Syntax

tml`<Caution>text to show in a warning color</>`

The Caution component creates a <span> containing the component children. The span is styled to display the content with --main-text-caution-color.

Attributes

Instance methods

These methods are intended to be used by parent components to dynamically change the properties of the rendered components without re-rendering.

Inherited methods

Children

All children are accepted as the content of the <span>.

DOM element properties