tick icon indicating copy to clipboard operation
tick copied to clipboard

How to get extension "dots"... Error: Can't get extension with name "dots", "dots" is not available

Open parth-1203 opened this issue 1 year ago • 2 comments

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 image

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.

parth-1203 avatar Apr 01 '23 02:04 parth-1203