apiref
tagged-hypertext@1.0.1

Hypertext  Class

The Hypertext class is used to represent HTML code.

Signature

export declare class Hypertext 

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Hypertext class.

Methods

MethodDescription
static from(html)Create a Hypertext object from a value.
toHtml()Get the HTML code.