Preparing search index...
The search index is not available
root
root
lib/svelte/src/lib/portal
portal
Function portal
portal
(
el
:
HTMLElement
,
target
?:
TargetType
,
)
:
{
destroy
:
()
=>
void
;
update
:
(
newTarget
:
TargetType
)
=>
Promise
<
void
>
}
Usage: <div use:portal={'css selector'}> or
Parameters
el
:
HTMLElement
target
:
TargetType
= "body"
Returns
{
destroy
:
()
=>
void
;
update
:
(
newTarget
:
TargetType
)
=>
Promise
<
void
>
}
See
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
root
Loading...
Usage: <div use:portal={'css selector'}> or
Parameters
Returns { destroy: () => void; update: (newTarget: TargetType) => Promise<void> }
See