【文件属性】:
文件名称:Howler:用于获取车把模板的小库
文件大小:2KB
文件格式:ZIP
更新时间:2021-07-02 21:32:13
JavaScript
咆哮.js
用于从服务器获取模板的小库。
例子
使用把手模板的示例
$ ( document ) . ready ( function ( ) {
howler . init ( "/static/templates/" , Handlebars . compile ) ;
howler . batch ( [ "title.html" , "preview.html" ] , init ) ;
} ) ;
function init ( ) {
$ ( "#title" ) . html ( howler . fetch ( "title.html" ) ( { "title" : title } ) ) ;
for ( var i in images ) {
$ ( "#images" ) . append ( howler . fe
【文件预览】:
Howler-master
----howler.js(3KB)
----LICENSE(1KB)
----README.md(490B)