@hackage jmonkey0.1.0.1

Jmonkey is very restricted but handy EDSL for JavaScript.

jmonkey

Build status

Jmonkey is very restricted but handy EDSL for javascript.

The DOM effect that jmonkey can do is just to change classes and ids of HTML elements.

So it only supports some on-actions and condition checks.

Instead of limited functions, it can be called internally unlike other rich javascript EDSLs that require external calls.

If you manage some states for complex frontend actions, jmonkey won't be usable.

Jmonkey may be useful when you implement some actions that css can not handle.

Example

A practical implementation is shown in example.

Clone this repository first, and execute following.

stack run

Then access to localhost:3000.

Documentation

Contribution

If you find a bug or want new features or else, making issues and PRs are very welcome.