1.0.2 • Published 5 years ago

new_day_event v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

New day event

Very simple library that can help you to now if new day is started

  • Npm installing: \ npm i new_day_event \ import from node_modules \ import 'new_day_event'

  • Installing without npm: \ git clone https://github.com/Volizik/new_day_event.git \ and inside your project add this line before your own script tag \ <script src="path/to/new_day_event/directory"></script>

  • Usage:

document.addEventListener('new-day', function() {
    alert('New day is started!')
});

Warning! Only for client side.

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago