0.0.1 • Published 7 years ago

@oxfordinfolabs/kinibind v0.0.1

Weekly downloads
1
License
-
Repository
github
Last release
7 years ago

kinibind

Kinibind is built upon the tinybind js framework, with the addition of AJAX loading binders. These binders are designed to assist in rapid developing and prototyping when working with simple AJAX requests for listing on HTML pages.

Install

npm install @oxfordinfolabs/kinibind

Use in a script tag...

<script src="../dist/kinibind.js"></script>

Usage

<div kb-source="https://jsonplaceholder.typicode.com/users" model="users">
    <ul>
        <li kb-each-user="users">
            <span class="label">User ID: {user.id}</span>&nbsp;<b>Name: </b>{user.name}
        </li>
    </ul>
</div>
kinibind.bind(document.getElementById('my-element'));

Contributing

Bug Reporting

  1. Ensure the bug can be reproduced on the latest master.
  2. Open an issue on GitHub and include an isolated JSFiddle demonstration of the bug. The more information you provide, the easier it will be to validate and fix.