Bind.js basic element bind and event

What this does?

This contains two div elements, click-element which only contains click-event and toggle-element which is $b.Element.

This is kind of bad example :) because events are not The point in this Framework, just side feature.

Click me!
Bind.js Element




<div class="button" data-name="clickelement" data-event-type="click" data-event-action="toggle"
data-event-target="toggleelement"> Click me! </div> <div class="toggleelement" data-name="toggleelement" data-object="Element"> Bind.js Element </div>

Used classes:

<script src="bind.js"></script>
<script src="bind.Element.js"></script>