AngularJS 扩展指令 ng-readingtime

码农软件 · 软件分类 · AngularJS 扩展 · 2019-03-16 20:57:32

软件介绍

ng-readingtime 是 AngularJS 的指令,可以用来获取对指定文本的阅读时间。

使用示例

<p>
  Reading time: <span ng-reading-time text-to-read="text"></span>
</p>

.directive('myCustomDirective', ['readingTime', function(readingTime) {  return {    // ... skipped code
    link: function() {
      scope.result = readingTime.get(text, {
        wordsPerMinute: 210,
        format: 'text_only'
      });
    }
  }
}]);


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

Game Engine Architecture, Second Edition

Game Engine Architecture, Second Edition

Jason Gregory / A K Peters/CRC Press / 2014-8-15 / USD 69.95

A 2010 CHOICE outstanding academic title, this updated book covers the theory and practice of game engine software development. It explains practical concepts and techniques used by real game studios,......一起来看看 《Game Engine Architecture, Second Edition》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具