pub trait View: Bind {
type Body: View = NeverView;
// Provided methods
fn body(&self) -> Self::Body { ... }
fn fire(&self, event: &Event, event_path: &IdPath, context: &Context) { ... }
fn render(&self, context: &Context) -> Node { ... }
}
Expand description
The primary view trait. Represents a lightweight UI component.