tick
tick copied to clipboard
How to get extension "dots"... Error: Can't get extension with name "dots", "dots" is not available
I could create a Flip timer using
import Tick from 'https://cdn.jsdelivr.net/npm/@pqina/[email protected]/+esm';
...
Tick.DOM.create({
value: 1,
view: {
....
}
})
But not sure how to create a dots counter. I tried the following way:
import Tick from 'https://cdn.jsdelivr.net/npm/@pqina/[email protected]/+esm';
...
Tick.DOM.create({
value: {
days: 12,
},
view: {
children: [
{
root: 'div',
children: [
{
view: 'dots',
key: 'days',
},
],
},
],
},
});
The web console says
If I had to do it using this way Tick.DOM.create with value and view params.... how would I be able to render a dots timer?
I can't find any import with +esm that includes core and dots.