Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 735 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 735 Bytes

Bind.js

Bind.js is a ultra light weight JavaScript framework to bind Javascript objects tightly to HTML elements.

Using Bind.js

  1. Include bind.js to your HTML (jQuery is required).
  2. Add <script>$(document).ready($b.OP.init);</script>

Contribution

TODO

Extending

  1. Just extend JavaScript class Element and do whatever you want
  • Always use _self.gJQ(selector) to get jQuery object

Background

  • Annoyed with the separation of HTML and Javascript?
  • C# uses tightly bind objects to HTML blocks, so?
  • What if JavaScript could be bind same way?
  • Success!

Example