novdom/component

Types

pub type Component

Functions

pub fn component(
  tag: String,
  children: List(Component),
) -> Component
pub fn copy(comp: Component) -> Component
pub fn set_child(
  comp: Component,
  children: Component,
) -> Component
pub fn set_children(
  comp: Component,
  children: List(Component),
) -> Component
pub fn text(text: String) -> Component

gets wraped by a custom element tag (<TEXT>)

Search Document