Skip to content
The ultra lightweight JavaScript framework
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
lib
src
.gitignore
LICENSE.md
README.md
index.html
package.json
settings.json
site.css
site.js

README.md

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

You can’t perform that action at this time.