Alight is a library for building interactive MVVM web interfaces/applications.
CoffeeScript JavaScript HTML
Clone or download
Latest commit 9450ce6 Dec 1, 2017
Permalink
Failed to load latest commit information.
src fix html Nov 30, 2017
test component: public api Feb 22, 2017
.gitignore al-checked: value, true-value, false-value Jan 13, 2017
LICENSE fix license Feb 21, 2015
changelog component: env.sendEvent Sep 25, 2017
gulpfile.js fix tests for full version Dec 10, 2016
package.json fix ts compilation Feb 24, 2016
readme.md link to docs Dec 8, 2016
source.json move old directives Sep 25, 2017

readme.md

Angular Light

Web framework with MVC model. Angular.js + Knockout.js way.

Visit angularlight.org, Docs

Join the chat at https://gitter.im/lega911/angular-light

Download / Install

Example 0

<div al-app>
    <label>Name:</label>
    <input type="text" al-value="name" />
    <h3>Hello {{name}}!</h3>
</div>

Example 1

<div id="app">
    <input al-value="name" type="text" />
    {{name}} <br/>
    <button al-on.click="click()">Set Hello</button>
</div>
alight('#app', {
    name: 'Some text',
    click: function() {
        this.name = 'Hello'
    }
});

More examples

Browser Support

Google Chrome, Firefox, IE9+ (IE8 with jQuery)

Building and testing

npm install
gulp
gulp test

Sources of 0.7.15 and older ones there: https://bitbucket.org/lega911

License

MIT

Copyright (c) 2013 - 2016 Oleg Nechaev lega911@gmail.com