@tempots/dom

HeadlessPortal class

Signature:

declare class HeadlessPortal extends HeadlessBase 

Extends: HeadlessBase

Constructors

Constructor

Modifiers

Description

(constructor)(selector, parent)

Constructs a new instance of the HeadlessPortal class

Properties

Property

Modifiers

Type

Description

contentToHTML

readonly

(generatePlaceholders?: boolean) => string

isPortal

readonly

() => this is HeadlessPortal

selector

readonly

string

toHTML

readonly

() => string