Bootstrap

API portal

portal

constant

const portal: Directive<PortalDirectiveArg>

Creates a portal directive, allowing to attach content to any element.

Param

the content of the portal

Param

PortalDirectiveArg args

Returns

the portal directive


PortalDirectiveArg

type alias

PortalDirectiveArg = { container: HTMLElement | null; insertBefore: HTMLElement | null; } | null | undefined

Represents the arguments for a portal directive.