Type Alias freya::prelude::Element

pub type Element = Option<VNode>;
Expand description

An Element is a possibly-none VNode created by calling render on [Scope] or ScopeState.

An Errored Element will propagate the error to the nearest error boundary.

Aliased Type§

enum Element {
    None,
    Some(VNode),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(VNode)

Some value of type T.