Web framework with MVC model. Angular.js + Knockout.js way.
Visit angularlight.org
bower install alight
npm install alight
- Download any version here
<div al-app>
<label>Name:</label>
<input type="text" al-value="name" />
<h3>Hello {{name}}!</h3>
</div>
<div id="app">
<input al-value="data.name" type="text" />
{{data.name}} <br/>
<button al-click="click()">Set Hello</button>
</div>
alight.bootstrap('#app', {
data: {
name: 'Some text'
},
click: function() {
this.data.name = 'Hello'
}
});
Google Chrome, Firefox, IE9+ (IE8 with jQuery)
npm install
gulp
gulp test
Sources of 0.7.15 and older ones there: https://bitbucket.org/lega911
Copyright (c) 2013 - 2016 Oleg Nechaev lega911@gmail.com