@yama-dev/js-count-module
v0.3.1
Published
utility that can implement count operation. can flexibly count the deadline.
Downloads
8
Maintainers
Readme
COUNT MODULE
Feature
utility that can implement count operation.
can flexibly count the deadline.
Demo
Installation,Download
Using
NPM Usage
# install npm.
npm install --save-dev @yama-dev/js-count-module// import.
import COUNT_MODULE from '@yama-dev/js-count-module';Basic Standalone Usage
<script src="./js-count-module.js"></script>
<script>
new JS_COUNT_MODULE({
date: '2022/1/10 10:00',
onUpdate: function(data){
console.log(data);
var _d = data.diffObjParsed;
var _t = _d.d+'[日] '+_d.h+'[時間] '+_d.m+'[分] '+_d.s+'[秒]';
},
onComplete: function(data){
console.log(data);
}
});
</script>Dependencies
none
For Developer
