pub trait View<MSG> {
    fn view(&self) -> Node<MSG>;

    fn style(&self) -> String { ... }
}
Expand description

Just a view, no events, no update. The properties of the component is set directly from the parent

Required Methods

only returns a view of itself

Provided Methods

optionally a View can specify its own css style

Implementors