html dom

dom.js 是一款可用在客户端和服务器端的 JavaScript 模板引擎,示例代码: var mytemplate = function () { header( h1('Heading'), h2('Subheading')); nav( ul({ 'class': 'breadcrumbs' }, li(a({ href: '/' }, 'Home')), li(a({ href: '/section/'}, 'Section')), li(a('Subject')))); article( p('Lorem ipsum...')); footer('Footer stuff'); };...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部