angular-light
angular-light copied to clipboard
Alight is a library for building interactive MVVM web interfaces/applications. (project is deprecated)
``` {{#if condition}} {{/if}} ```
if a value is Promise/rxjs etc, to be able to process any type
check if it's one element ``` ```
component.register({name, handler}); component.invoke({name, element, parentInterface}); parentInterface: * watch(name, callback); * unwatch * destroy * sendEvent * setAPI
There is an issue with native class controllers in Chrome. Controller like this: ```javascript alight.ctrl.test = class { constructor() {; this.value = 1; } }; ``` and html like this:...