/angular-light

Alight is a library for building interactive MVVM web interfaces/applications.

Primary LanguageCoffeeScriptMIT LicenseMIT

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