atomic-html

In this article

The atomic-html component renders the HTML value of a string.

There is an inherent XSS security concern associated with the usage of this component.

Use only with values for which you are certain the content is harmless.

Properties

Property Attribute Description Type Default

sanitize

sanitize

Specify if the content should be sanitized, using DOMPurify.

boolean

true

value (required)

value

The string value containing HTML to display;

string

What's next for me?