Skip to content

yama-dev/js-count-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Licence

MIT


Author

yama-dev

About

utility that can implement count operation. can flexibly count the deadline.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published