๐ Easy to use modern javascript framework
<div id="app">
<my-el></my-el>
<my-el></my-el>
</div>
<div id="my-el-template">
{{ count }}
<button ezay:click="clickHandler">+1</button>
<ul ezay:for="num in array">
<li>{{ num }}</li>
</ul>
</div>
<script src="dist/ezay.min.js"></script>
<script>
var ezay = new Ezay({ el: '#app' });
ezay.register('my-el', {
'count': 1,
'array': [1],
'clickHandler': function () {
this.count += 1;
this.array.push(this.count);
},
}, document.querySelector('#my-el-template'));
</script>
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details