Expand description
The main html module which defines components, listeners, and class helpers.
Structs
Untyped scope used for accessing parent scope
A type used for rendering children html.
A set of classes.
Wrapped Node reference for later use in Component lifecycle methods.
A context which allows sending messages to a component.
Traits
Components are the basic building blocks of the UI in a Yew app. Each Component
chooses how to display itself using received props and self-managed state.
Components can be dynamic and interactive by declaring messages that are
triggered and handled asynchronously. This async update mechanism is inspired by
Elm and the actor model used in the Actix framework.
Marker trait for types that the [
html!] macro may clone implicitly.A trait similar to
Into<T> which allows conversion of a value into a Callback.
This is used for event listeners.A trait similar to
Into<T> which allows conversion to a value of a Properties struct.Trait for building properties for a component
Defines a message type that can be sent to a component.
Used for the return value of closure given to Scope::batch_callback.
A trait to obtain a generic event target.
Functions
Render children into a DOM node that exists outside the hierarchy of the parent
component.
Type Definitions
A type used for accepting children elements in Component::Properties.
A type used for accepting children elements in Component::Properties and accessing their props.
A type which expected as a result of
view function implementation.