glum/ui

Types

pub opaque type Done(msg)

Values

pub fn after(
  this first: Element(a),
  rest rest: fn() -> Element(a),
) -> Element(a)
pub fn before(
  rest rest: Element(a),
  this first: fn() -> Element(a),
) -> Element(a)
pub fn button(on_tap msg: a) -> Element(a)
pub fn group(elements children: List(Element(a))) -> Element(a)
pub fn has(
  element element: Element(a),
  children children: fn() -> Element(a),
) -> Element(a)
pub fn list(
  f: fn(fn(Element(a), fn() -> Done(a)) -> Done(a), Done(a)) ->
    Done(a),
) -> Element(a)
pub fn none() -> Element(a)
pub fn text(content content: String) -> Element(a)
pub fn wrap(element children: fn() -> Element(a)) -> Element(a)
Search Document