1.0.0-beta • Published 7 years ago
js-life v1.0.0-beta
Installation
Download via npm or github and upload them into your project
$ npm install js-life
or use CDN
<script src="https://unpkg.com/js-life@0.15.17-beta/dist/life.min.js"></script>
Usage
You can consume life via AMD or CommonJS.
// CommonJS
const Life = require('life.js');
// AMD
require(["life"], function(life) {
// code goes here
});
Otherwise put the script tag into the body and life will attach to the window object.
<script src="dist/life.js"></script>
// Now you can consume Life
Hello World
Life.renderView(
Life.p('Hello World!'),
document.body
)
// <p>Hello World</p>
Documentation
Read the documentation.
Browsersupport
Life is supported by the current browsers.
A list of older versions will come soon.
Contribution
If you have ideas to make life better let me know! I´m thankful for every contribution. 💚
Demo
Here are a few small demos.
Todo-List Component
Input
Basic-Router
Counter
1.0.0-beta
7 years ago
0.15.18-beta
7 years ago
0.15.17-beta
7 years ago
0.15.16-beta
7 years ago
0.15.15-beta
7 years ago
0.15.14-beta
7 years ago
0.14.14-beta
7 years ago
0.14.13-beta
7 years ago
0.14.12-beta
7 years ago
0.14.11-beta
7 years ago
0.14.10-beta
7 years ago
0.14.9-beta
7 years ago
0.14.8-alpha
7 years ago
0.14.7-alpha
7 years ago
0.14.6-alpha
7 years ago
0.13.6-alpha
7 years ago
0.13.5-alpha
7 years ago
0.13.4-alpha
7 years ago
0.13.3-alpha
7 years ago
0.13.2-alpha
7 years ago
0.13.1-alpha
7 years ago
0.13.0-alpha
7 years ago
0.12.0-alpha
7 years ago
0.11.0-alpha
7 years ago
0.11.0
7 years ago
0.10.0
7 years ago