sketch/lustre/element/keyed

This module is a drop-in replacement for lustre/element/keyed. Just use the new functions, and everything will automagically be styled.

Constants

pub const fragment: fn(List(#(String, Element(a)))) -> Element(a)

Functions

pub fn div(
  class: Class,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn div_(
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn dl(
  class: Class,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn dl_(
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn element(
  tag: String,
  class: Class,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn element_(
  tag: String,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn namespaced(
  namespace: String,
  tag: String,
  class: Class,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn namespaced_(
  namespace: String,
  tag: String,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn ol(
  class: Class,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn ol_(
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn tbody(
  class: Class,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn tbody_(
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn ul(
  class: Class,
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
pub fn ul_(
  attributes: List(Attribute(a)),
  children: List(#(String, Element(a))),
) -> Element(a)
Search Document