0.0.19 • Published 12 months ago
be-functional v0.0.19
be-functional
Working like it's '95
<button be-functional='{
"click": {
"scriptRef": "my-script",
"fn": "yawnAndStretch"
}
}'>Tumble out of bed</button>
...
<script nomodule id=my-script be-exportable>
export const yawnAndStretch = e => {
e.target.textContent = 'Try to come to life';
}
</script>
Running locally
- Do a git clone or a git fork of repository https://github.com/bahrus/be-functional
- Install node.js
- Run "npm install" from location of folder created in step 1.
- Run npm run serve. Open browser to http://localhost:3030/demo/
Using from ESM Module:
import 'be-functional/be-functional.js';
Using from CDN:
<script type=module crossorigin=anonymous>
import 'https://esm.run/be-functional';
</script>
0.0.19
12 months ago
0.0.18
1 year ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.6
2 years ago
0.0.1
3 years ago
0.0.0
3 years ago