Sunday, January 1, 2017

domAjax


domAjax is a small HTML5 javascript library that permits any DOM component to make ajax requests. It additionally has an easy templating engine that can simply bind lower back json knowledge to template attributes written in curly brackets. By default, any lower back json item is passed through this micro templating engine which gives you a really seamless ajax experience.

domAjax gets rid of the desire for you to code jQuery ajax requests which is able to easily get messy especially while it involves processing the back JSON and manipulating the DOM to add any fetched data.

DOM nodes are configured the usage of knowledge-ajax-* attributes and the domAjax library takes care of the remaining.
documentation obtainable at https://googledrive.com/host/0B_GNvWPY1Rs1Z1RTbFFGWFBVRzg/index.html
// domAjax Template
<div identification="posts" knowledge-ajax-url="/posts/"> <div elegance="single-submit" data-ajax-repeat="posts"> <span></span> <div> <span>Written via </span> <span>Submitted </span> </div> <div class="writeup"> </div> <div class="feedback"> </div> </div> </div>
FULL DOWNLOAD

No comments:

Post a Comment

Trik tersembunyi Bermain Slither.io agar menjadi no 1 | cara tau ampuh

Slither.io Unblocked Play Engaging in online game playing avails a chance for one to have a great experience. This opens up an enormous amo...