View Source LiveSvelte (LiveSvelte v0.3.5)
Link to this section Summary
Functions
Renders a Svelte component on the server.
Link to this section Functions
Renders a Svelte component on the server.
attributes
Attributes
props
(:map
) - Props to pass to the Svelte component. Defaults to%{}
.name
(:string
) (required) - Name of the Svelte component.Examples include"YourComponent"
, and"directory/Example"
.class
(:string
) - Class to apply to the Svelte component. Defaults tonil
.ssr
(:boolean
) - Whether to render the component on the server. Defaults totrue
.
slots
Slots
inner_block
- Inner block of the Svelte component.