@oxfordinfolabs/kinibind
v0.0.1
Published
Data binding plus simple Ajax requests in HTML
Downloads
4
Readme
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> <b>Name: </b>{user.name}
</li>
</ul>
</div>
kinibind.bind(document.getElementById('my-element'));
Contributing
Bug Reporting
- Ensure the bug can be reproduced on the latest master.
- 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.