@tempots/dom

HeadlessText class

Signature:

declare class HeadlessText 

Constructors

Constructor

Modifiers

Description

(constructor)(text)

Constructs a new instance of the HeadlessText class

Properties

Property

Modifiers

Type

Description

getText

readonly

() => string

id

readonly

string

isElement

readonly

() => this is HeadlessElement

isText

readonly

() => this is HeadlessText

text

string

toHTML

readonly

() => string