lustre_routed/link

Functions

pub fn link(
  href: String,
  attributes: List(Attribute(RoutedAction(a))),
  content: List(Element(RoutedAction(a))),
) -> Element(RoutedAction(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