artTemplate寫法小案例之百度搜索引擎

前篇文章介紹了artTemplate相關使用的知識,這篇主要介紹artTemplate的兩個常用方法: 1.template(‘search’,data); 第一個參數是script標籤的id名 <script id="template" type="text/html"> <!--id名自定義,注意類型爲text/html--> 第二個參數是要傳入的數據 2.template.compil
相關文章
相關標籤/搜索