Explorer

html-ui.event-link

description
A link to the event page (/e/<hash>) showing the first 10 characters of the hash
type
Fn(hash: String) -> @html.node
expression
fn(hash$0) =>
  @html.element(
    name: "a",
    attributes: [{name: "href", value: @core.string-concat(left: "/e/", right: $0)}, {name: "title", value: $0}],
    children: [
      @html.element(
        name: "code",
        attributes: [],
        children: [@html.text(text: @core.string-slice(value: $0, start: 0, end: 10))]
      )
    ]
  )
visibility
public
html-ui.event-link (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ)
id: n-TxNCfcysUevh2Y9qRKgjAGYpb6Hd14nXWrXwHX8mI
content hash: 6_ol-xS5IrAEnsAbrsW2dssJEYP_3_-F-VinPG3_cjM