Expand description
Web support for Sycamore.
Modules
HTML tag definitions.
Utilities for client-side hydration in the browser.
Portal API.
Structs
Rendering backend for the DOM.
Rendering backend for the DOM with hydration support.
Props for
NoHydrate
.Props for
NoSsr
.Rendering backend for Server Side Rendering, aka. SSR.
Traits
Trait that is implemented by all
GenericNode
backends that render to HTML.Functions
Render the children of this component in a scope that will not be hydrated.
Only render the children of this component in the browser.
The children are wrapped inside a
<div>
element to prevent conflicts with surrounding
elements.Create a generic
Html
node from a web_sys::Node
.Render a
View
under a parent
node by reusing existing nodes (client side
hydration). Alias for hydrate_to
with parent
being the <body>
tag.Render a
View
under a parent
node, in a way that can be cleaned up.
This function is intended to be used for injecting an ephemeral sycamore view into a
non-sycamore app (for example, a file upload modal where you want to cancel the upload if the
modal is closed).Render a
View
under a parent
node by reusing existing nodes (client side
hydration). For rendering under the <body>
tag, use hydrate_to
instead.Queue up a callback to be executed when the component is mounted.
Render a
View
under a parent
node, in a way that can be cleaned up.
This function is intended to be used for injecting an ephemeral sycamore view into a
non-sycamore app (for example, a file upload modal where you want to cancel the upload if the
modal is closed).