A declarative two-way data binding library for Javascript. https://code.ivysaur.me/opengular
This repository has been archived on 2020-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
mappu 6ab064d069 commit all archived files 2015-10-18 00:00:00 +00:00
dist-archive commit all archived files 2015-10-18 00:00:00 +00:00
doc commit all archived files 2015-10-18 00:00:00 +00:00
.legacy-codesite.toml initial meta commit 2015-10-18 00:00:00 +00:00
README.md commit all archived files 2015-10-18 00:00:00 +00:00

README.md

opengular

A declarative two-way data binding library for Javascript.

The best way to determine if you understand something, is to reimplement it from memory.

Features

  • Angular.JS-style controller/scope/directive concepts, using hierarchal dirty scope checking
  • Bind directive, supporting div/spans and two-way support for text inputs
  • Click directive, with argument support loaded from current scope
  • Repeat directive, with $index support and mutation protection
  • Comes in at 300 lines (just 1.3KiB minified and gzipped) with no eval() tricks
  • Permissive ISC license
  • Depends on jQuery, but should work fine with API-compatibile substitutions like Zepto or jqLite

Changelog

2015-10-18 1.0