@creaditor/countdown
v1.0.23
Published
A simple countdown web component
Downloads
78
Maintainers
Readme
Countdown web component
This project using LitElement with TypeScript.
Setup
Install dependencies:
npm i
npm run build:watch
npm run serve
open: http://localhost:8080/dev/
## Build and publish
```bash
npm run build
npm publish
Example
<countdown-element
containerWidth="800px"
containerBg="#fff"
containerRadius="20px"
colBg="#ec02ea57"
colBorderStyle="dashed"
colBorderSize="3px"
colBorderColor="red"
colBorderPadding="15px"
colBorderRadius="100px"
fontFamily="Arial"
numberSize="30px"
numberColor="black"
numberFontFamily="Arial"
labelSize="14px"
labelColor="black"
labelfontFamily="Arial"
hasColons="false"
hasLabels="false"
date="2022-09-20T17:24:00"
language="he"
>
</countdown-element>