• Stars
    star
    274
  • Rank 150,274 (Top 3 %)
  • Language
    CoffeeScript
  • License
    MIT License
  • Created almost 10 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Alight is a library for building interactive MVVM web interfaces/applications. (project is deprecated)

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 [email protected]