pub trait Html: GenericNode<EventType = Event> {
    const IS_BROWSER: bool;
}
Expand description

Trait that is implemented by all GenericNode backends that render to HTML.

Required Associated Constants

A boolean indicating whether this node is rendered in a browser context.

A value of false does not necessarily mean that it is not being rendered in WASM or even in the browser. It only means that it does not create DOM nodes.

Implementors