Trait sauron::prelude::View[][src]

pub trait View<MSG> {
    fn view(
        &self
    ) -> Node<&'static str, &'static str, &'static str, AttributeValue<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