mkuklis/jquery.tmplloader
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Little utility which loads and caches remote templates on demand. Compatible with various template engines.
dependencies:
- jQuery
usage:
$.tmplLoader.get("template-name" function(content){
// callback
});
override default options:
$.tmplLoader.init(options);
or:
$.tmplLoader.get("template-name", callback, options);