Details.svelte

Declarations
#

view source

Details
#

Details.svelte view source

Like details but renders children lazily by default.

open?

type boolean
optional bindable

eager?

Children are lazily rendered by default, enabling transitions and improving performance, sometimes significantly. Pass true to render children eagerly to gain ctrl+f functionality while trading away the benefits. Consider a <details> element instead of making this component eager.

type boolean
optional

summary

type string | Snippet

summary_attrs?

type SvelteHTMLElements['summary']
optional

children

type Snippet

Imported by
#