Skip to content

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

License

Notifications You must be signed in to change notification settings

china-liweihong/angular-light

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 82.1%
  • JavaScript 15.0%
  • HTML 2.9%