element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
cadre · v2.2.1

cadre

Package Version Hex Docs

This is a Lustre wrapper for A-Frame.

Installation

gleam add cadre

Then add A-Frame to gleam.toml:

[tools.lustre.html]
scripts = [{ src = "https://cdn.jsdelivr.net/npm/aframe@1.7.1/dist/aframe-master.min.js" }]

Further documentation can be found at https://hexdocs.pm/cadre.

Credits

Special thanks to:

  • Emilia for the name suggestion.
  • And the developers/contributors of Tiramisu, Lustre and A-Frame for inspiring me to make this library.
Search Document