mirror of
https://codeberg.org/setop/elm-markitup.git
synced 2025-10-07 23:39:57 +00:00
503 B
503 B
MarkItUp Custom Element Example
This is a simple demonstration of using HTML Custom Elements in Elm.
Inspired by Luke Westby's Elm Europe talk. The JavaScript custom element code is almost a verbatim copy.
To run it:
- git clone and cd into the local copy
- run
elm make src/Miu.elm --output js/miu-demo.js
- open "demo.html" in a web browser