mirror of
https://codeberg.org/setop/elm-markitup.git
synced 2025-10-10 23:49:59 +00:00
working implementation
This commit is contained in:
13
README.md
Normal file
13
README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# MarkItUp Custom Element Example
|
||||
|
||||
This is a simple demonstration of using [HTML Custom Elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) in Elm.
|
||||
|
||||
Inspired by [Luke Westby](https://github.com/lukewestby)'s [Elm Europe talk](https://youtu.be/tyFe9Pw6TVE). 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
|
||||
|
||||
|
Reference in New Issue
Block a user