gbr/ui/link
🔗 Gleam UI core link super element
Is one element with required href attribute.
To render a link needs inner elements like a span with text or maybe more
complex example, e.g., gbr/ui/logo.
Types
Link super element
el: Element info href: Path location link
pub opaque type UILink
pub opaque type UILinkRender(a)
Values
pub fn at(
in: UILink,
inner: List(element.Element(a)),
) -> UILinkRender(a)
pub fn onclick(
at: UILinkRender(a),
onclick: fn(String) -> a,
) -> UILinkRender(a)