Highlights of the JQuery API, taken from here.
API documentation topics:
- jQuery.tmpl() and .tmpl():
These APIs are used to render a jQuery template:
http://api.jquery.com/tmpl
http://api.jquery.com/jQuery.tmpl- jQuery.tmplItem() and .tmplItem():
These APIs are used to find a jQuery template instance, and are crucial for providing interactivity:
http://api.jquery.com/tmplitem
http://api.jquery.com/jQuery.tmplitem- jQuery.template() and .template():
These APIs are used to compile or store a jQuery template, and are particularly useful for scenarios where templates are loaded in the form of strings, such as templates retreived remotely:
http://api.jquery.com/template
http://api.jquery.com/jQuery.templateTemplate tag documentation topics:
- ${…}:
This tag is used to evaluate fields or JavaScript expressions within templates:
http://api.jquery.com/template-tag-equal- {{each …}}…{{/each}}:
This tag is used used to iterate within a template (without creating template items):
http://api.jquery.com/template-tag-each- {{if …}}…{{else …}}…{{/if}}:
This tag is used used to create conditional sections within templates:
http://api.jquery.com/template-tag-if
http://api.jquery.com/template-tag-else- {{html …}}:
This tag is used used to insert markup obtained from data within templates:
http://api.jquery.com/template-tag-html- {{tmpl …}}:
This tag is used used for composition and iteration within templates (and creating new template items for each nested rendered template):
http://api.jquery.com/template-tag-tmpl- {{wrap …}}…{{/wrap}}:
This tag is used used for composition and iteration, along with incorporation of wrapped HTML within templates:
http://api.jquery.com/template-tag-wrap