gbr/ui/svg

🐯 Gleam UI super lustre element svg.

Types

Function identity to gbr/ui/svg.Svg.

pub type Identity =
  fn(core.Svg) -> core.Svg

Svg super element.

pub type Svg =
  core.Svg

Values

pub const class: fn(core.Svg, String) -> core.Svg
pub const classes: fn(core.Svg, List(#(String, Bool))) -> core.Svg
pub fn new(height h: Int, width w: Int) -> core.Svg

Constructor of super svg element gbr/ui/svg.Svg.

pub fn render(in: core.Svg) -> element.Element(a)

Render super svg element in lustre/element/html.{svg}.

Search Document