数据绑定和模板系统 Rivets.js

码农软件 · 软件分类 · JavaScript MVC 框架 · 2019-03-15 16:58:44
  • 授权协议: MIT
  • 开发语言: JavaScript
  • 操作系统: 跨平台
  • 软件首页: http://rivetsjs.com/

软件介绍

Rivets.js 是一个轻量级的数据绑定和模板系统,用于构建数据驱动的视图界面。可方便将前端MV(C|VM|P)的各个方面集成到你的业务流程中。

使用方法:

<section id="auction">
  <h3>{ auction.product.name }</h3>
  <p>Current bid: { auction.currentBid | money }</p>

  <aside rv-if="auction.timeLeft | lt 120">
    Hurry up! There is { auction.timeLeft | time } left.
  </aside>
</section>

rivets.bind($('#auction'), {auction: auction})


本文地址:https://codercto.com/soft/d/1415.html

Microformats

Microformats

John Allsopp / friends of ED / March 26, 2007 / $34.99

In this book, noted web developer and long time WaSP member John Allsop teaches all you need to know about the technology: what Microformats are currently available and how to use them; the general pr......一起来看看 《Microformats》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具