Expand description
§Maple API Documentation
Maple is a VDOM-less web library with fine-grained reactivity.
This is the API docs for maple. If you are looking for the usage docs, checkout the README.
§Supported Targets
wasm32-unknown-unknown
§Features
serde
- Enables serializing and deserializingSignal
s and other wrapper types usingserde
.
Modules§
- flow
- Iteration utility components for
template
. - noderef
- prelude
- The maple prelude.
- reactive
- Reactive primitives.
- render
- Trait for describing how something should be rendered into DOM nodes.
Macros§
- cloned
- Utility macro for cloning all the arguments and expanding the expression.
- template
- A macro for ergonomically creating complex UI structures.
Structs§
- Template
List - A
SignalVec
ofTemplateResult
s. - Template
Result - The result of the
template!
macro. Should not be used directly.
Functions§
- render
- Render a
TemplateResult
into the DOM. - render_
to - Render a
TemplateResult
under aparent
node. For rendering under the<body>
tag, userender()
instead.