Preparing search index...
The search index is not available
Documentation
Documentation
svelte-ast-print
_internal/template/element
print_maybe_self_closing_el
Function print_maybe_self_closing_el
print_maybe_self_closing_el
<
N
extends
ElementLike
>
(
params
:
{
attr_printer
:
(
n
:
AttributeLike
,
opts
?:
Partial
<
PrintOptions
>
,
)
=>
Result
<
AttributeLike
>
;
frag_printer
:
(
n
:
Fragment
,
opts
?:
Partial
<
PrintOptions
>
,
)
=>
Result
<
Fragment
>
;
n
:
N
;
opts
:
Partial
<
PrintOptions
>
;
}
,
)
:
Result
<
N
>
Internal
Type Parameters
N
extends
ElementLike
Parameters
params
:
{
attr_printer
:
(
n
:
AttributeLike
,
opts
?:
Partial
<
PrintOptions
>
,
)
=>
Result
<
AttributeLike
>
;
frag_printer
:
(
n
:
Fragment
,
opts
?:
Partial
<
PrintOptions
>
,
)
=>
Result
<
Fragment
>
;
n
:
N
;
opts
:
Partial
<
PrintOptions
>
;
}
attr_printer
:
(
n
:
AttributeLike
,
opts
?:
Partial
<
PrintOptions
>
)
=>
Result
<
AttributeLike
>
frag_printer
:
(
n
:
Fragment
,
opts
?:
Partial
<
PrintOptions
>
)
=>
Result
<
Fragment
>
n
:
N
opts
:
Partial
<
PrintOptions
>
Returns
Result
<
N
>
@
NO_SIDE_EFFECTS
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...