Crate ravel_web

Source
Expand description

A web/DOM/HTML backend for ravel.

Modules§

attr
HTML attributes.
collections
Views over dynamically sized collections.
el
HTML elements.
event
HTML events.
run
Run an event loop for a top-level component.
text
Text nodes and formatting.

Macros§

View
A convenience macro for declaring a View type.
format_text
Displays text with a format string.

Structs§

AnyState
The state for an AnyView.
AnyView
A wrapper around a View, erasing its State type.
BuildCx
The necessary context for building Web components.
OptionState
The state for an Optional component.
RebuildCx
The necessary context for rebuilding Web components.
Web
A dummy type representing the web backend.

Traits§

View
Trait for DOM fragments.
ViewMarker
A marker trait for the ravel::State types of a View.

Functions§

any
Wraps a View, erasing its State type.