@tempots/dom

HeadlessPortal.(constructor)

Constructs a new instance of the HeadlessPortal class

Signature:

constructor(selector: string, parent: HeadlessBase | undefined);

Parameters

Parameter

Type

Description

selector

string

parent

HeadlessBase | undefined