This SharePoint WebPart will display a timer that can countdown to a specific date and time. The colors and title can be set through the propertypane.
Title: sets the title that will be displayed above the timer.
Repeat every: After the timer expires, timer will be reset to new date x amount of days in the future ( x is set here)
ex: Repeat set to 5, when the timer expires on 10/10 a new timer will be set for 15/10
Delay reset: This is the amount of hours the timer will remain at 0 0 0 0 before repeat is started
End date and Time: This is the initial Time and Date for the countdown
Font color: Color for the text
Background color: Color for the background
git clone the repo
npm i
npm i -g gulp
gulp
url: https://localhost:4321/temp/workbench.html
npm run serve or gulp serve
This package produces the following:
- lib/* - intermediate-stage commonjs build artifacts
- dist/* - the bundled script, along with other resources
- deploy/* - all resources which should be uploaded to a CDN.
If you would like to build the spfx package for production you can use the following command:
npm run package
This will create the 'sppkg' file in the sharepoint directory.
Place this file in your SharePoint app catalog.