illustrious/link

Functions

pub fn link(
  href: String,
  attributes: List(Attribute(IllustriousAction(a))),
  content: List(Element(IllustriousAction(a))),
) -> Element(IllustriousAction(a))

Creates an <a> element which hooks into the history api. Clicking on the element will not cause a full page refresh but instead will push a new element onto the history stack.

Search Document