pub trait DomOutput {
// Required methods
fn create_element(self) -> DomElement;
fn render(self, element: DomElement);
}Expand description
A component output function’s DOM element output.
Required Methods§
Sourcefn create_element(self) -> DomElement
fn create_element(self) -> DomElement
Create the DOM element.
Sourcefn render(self, element: DomElement)
fn render(self, element: DomElement)
Rerender the DOM element.