This is a web component for an emoji clock.
I was interested to see what the current 'native' web component situation is when no polyfills are used.
Should I use this?
It's just an experiment; so far I've only tested that it works on Chrome 47.
Install this through npm.
npm install emoji-clock
emoji-clock, but you can
use whatever you'd like.
var emojiClock = ;document;
After that, you can use the element in your HTML!
The web component has a single custom attribute:
time. The format should be
hour:minute. Leading zeros
on numbers are optional. For instance, two twenty can be written as