Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rnunez80/volto-countdown-block
Volto Block to count down to any date specified, with optional display of hours, minutes and seconds
https://github.com/rnunez80/volto-countdown-block
Last synced: 2 months ago
JSON representation
Volto Block to count down to any date specified, with optional display of hours, minutes and seconds
- Host: GitHub
- URL: https://github.com/rnunez80/volto-countdown-block
- Owner: rnunez80
- License: mit
- Created: 2022-12-16T18:55:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T17:21:04.000Z (over 1 year ago)
- Last Synced: 2024-04-23T22:55:02.455Z (9 months ago)
- Language: JavaScript
- Size: 304 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-volto - volto-countdown-block - A Volto block to count down to any date specified, with optional display of hours, minutes and seconds. (Addons)
README
# volto-countdown-block
A [Plone/volto](https://plone.org/why-plone) [block](https://6.dev-docs.plone.org/volto/blocks/index.html) [add-on](https://6.dev-docs.plone.org/volto/addons/index.html) for a countdown block.
Countdown to any date/time you specify.## Features
### Volto Countdown date/time
A example of Volto Countdown to any date/time you specify, it look like the following capture:
![Volto Countdown date/time](https://raw.githubusercontent.com/rnunez80/volto-countdown-block/main/preview.png "Volto Countdown date/time")
---
## Customizable properties
1. `title` (_string_): The heading text.
1. `countToDate` (_date_): Date/time to countdown to.
1. `endMessage` (_string_): Message to show after the date/time specified is reach.
1. `showHour` (_boolean_): Show Hours.
1. `showMinute` (_boolean_): Show Minutes.
1. `showSecond` (_boolean_): Show Seconds.
1. `emphasis` (_choice_): Class used on the countdown block.## How to contribute
See [DEVELOP.md](https://github.com/rnunez80/volto-countdown-block/blob/main/DEVELOP.md).
## Copyright and license
The Initial Owner of the Original Code is Rafael Nunez.
All Rights Reserved.See [LICENSE.md](https://github.com/rnunez80/volto-countdown-block/blob/main/LICENSE.md) for details.