ngStopwatch:简单的秒表来跟踪时间

时间:2021-05-18 17:30:32
【文件属性】:
文件名称:ngStopwatch:简单的秒表来跟踪时间
文件大小:245KB
文件格式:ZIP
更新时间:2021-05-18 17:30:32
JavaScript 跑表 简单的秒表角度插件可跟踪计时 该插件为您提供服务stopwatch以创建秒表对象的实例 安装 凉亭bower install ngStopwatch 导入您的模块 angular.module('MyApp', ['ngStopwatch']) 用法 将服务导入您需要使用的地方 angular . module ( ' MyApp ' ) . controller ' MyCtrl ' , [ ' stopwatch ' ], ( stopwatch ) -> timer = stopwatch . create () # starts automatically for item in itens # doSomething... console . log timer . lap () # ellapsed time since last lap (o
【文件预览】:
ngStopwatch-master
----bower.json(661B)
----src()
--------scripts()
--------module.coffee(510B)
----examples()
--------.jshintrc(632B)
--------bower.json(865B)
--------src()
--------gulpfile.js(961B)
--------LICENSE(1KB)
--------README.md(45B)
--------dist()
--------.gitignore(44B)
--------coffeelint.json(2KB)
--------package.json(2KB)
--------gulp()
----gulpfile.js(985B)
----LICENSE(1KB)
----README.md(2KB)
----dist()
--------ngStopwatch.js(11KB)
--------ngStopwatch.min.js(2KB)
----.bowerrc(38B)
----.gitignore(44B)
----package.json(2KB)
----gulp()
--------.jshintrc(48B)
--------build.js(1KB)
--------unit-tests.js(2KB)
--------scripts.js(866B)
--------watch.js(576B)

网友评论