https://github.com/tzbob/scalatags-hokko
A Virtual DOM based DOM library for the Hokko FRP implementation.
https://github.com/tzbob/scalatags-hokko
dom frp functional-reactive-programming scalajs virtual-dom
Last synced: about 4 hours ago
JSON representation
A Virtual DOM based DOM library for the Hokko FRP implementation.
- Host: GitHub
- URL: https://github.com/tzbob/scalatags-hokko
- Owner: tzbob
- License: mit
- Created: 2017-02-15T11:36:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-01T10:54:52.000Z (over 6 years ago)
- Last Synced: 2025-03-02T09:44:46.654Z (4 months ago)
- Topics: dom, frp, functional-reactive-programming, scalajs, virtual-dom
- Language: Scala
- Size: 58.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scalatags-hokko
```scalatags-hokko``` and its dependencies are not yet available on maven central, for now you should manually publish them locally.
From here on we assume an installation of SBT, guidelines can be found here: http://www.scala-sbt.org/download.html## Compiling scalatags-hokko
```scalatags-hokko``` depends on the ```hokko``` FRP library.
Installing ```hokko```:
```
git clone https://github.com/Tzbob/hokko.git
cd hokko
git checkout fb67786b902fd79314e52c4351ea95a1ff4079d7sbt publish-local
cd ..
```Compiling ```scalatags-hokko```:
```
git clone https://github.com/Tzbob/scalatags-hokko.git
cd scalatags-hokko
git checkout 21525fb001b63243afc2260d5890b4ba899c3310sbt compile
```## Running the Example
An example application is available in ```modules/examples```.
You can use SBT to prepare the example:```
sbt examples/fastOptJS
```
This compiles the example to a Javascript program.
An HTML document to test the program is located in ```modules/examples/html/resources/index.html```:```
cd modules/examples/html
$BROWSER index.html
```