Skip to content

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

License

Notifications You must be signed in to change notification settings

luyongfugx/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

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="data.name" type="text" />
    {{data.name}} <br/>
    <button al-click="click()">Set Hello</button>
</div>
alight.bootstrap({
    $el: '#app',
    data: {
        name: 'Some text'
    },
    click: function() {
        this.data.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 - 2015 Oleg Nechaev lega911@gmail.com

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 91.7%
  • JavaScript 5.0%
  • HTML 3.3%