@mozaik/ext-time
Advanced tools
Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5
{ | ||
"name": "@mozaik/ext-time", | ||
"version": "2.0.0-alpha.4", | ||
"version": "2.0.0-alpha.5", | ||
"description": "Mozaik time widgets", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -17,3 +17,3 @@ # Mozaïk time widgets | ||
![clock](https://raw.githubusercontent.com/plouc/mozaik-ext-time/master/preview/time.clock.png) | ||
![clock](https://raw.githubusercontent.com/plouc/mozaik-ext-time/mozaik-2/preview/time.clock.png) | ||
@@ -33,3 +33,7 @@ ### parameters | ||
``` yaml | ||
- type: time.clock | ||
# | ||
# Displaying date info | ||
# | ||
- extension: time | ||
widget: Clock | ||
info: date | ||
@@ -40,4 +44,8 @@ columns: 1 | ||
y: 0 | ||
- type: time.clock | ||
# | ||
# Displaying timezone info | ||
# | ||
- extension: time | ||
widget: Clock | ||
info: timezone | ||
@@ -49,4 +57,8 @@ timezone: America/Los_Angeles | ||
y: 0 | ||
- type: time.clock | ||
# | ||
# Displaying custom info | ||
# | ||
- extension: time | ||
widget: Clock | ||
info: Time is money! | ||
@@ -64,2 +76,4 @@ columns: 1 | ||
![clock](https://raw.githubusercontent.com/plouc/mozaik-ext-time/mozaik-2/preview/time.digital_clock.png) | ||
### parameters | ||
@@ -69,3 +83,3 @@ | ||
-----------------|----------|---------|------------------------------------------ | ||
`displayWeekday` | no | `true` | *Enable/disable day of week display.* | ||
`displayDate` | no | `true` | *Enable/disable date display.* | ||
`displaySeconds` | no | `true` | *Enable/disable seconds display.* | ||
@@ -84,2 +98,5 @@ `timezone` | no | | *Name of the timezone, like `America/Los_Angeles`. See http://momentjs.com/timezone/ for possible values. Defaults to local time.* | ||
# | ||
# Disabling time seconds | ||
# | ||
- extension: time | ||
@@ -93,2 +110,5 @@ widget: DigitalClock | ||
# | ||
# Disabling date | ||
# | ||
- extension: time | ||
@@ -108,4 +128,4 @@ widget: DigitalClock | ||
[travis-url]: https://travis-ci.org/plouc/mozaik-ext-time | ||
[npm-image]: https://img.shields.io/npm/v/mozaik-ext-time.svg?style=flat-square | ||
[npm-url]: https://www.npmjs.com/package/mozaik-ext-time | ||
[npm-image]: https://img.shields.io/npm/v/@mozaik/ext-time.svg?style=flat-square | ||
[npm-url]: https://www.npmjs.com/package/@mozaik/ext-time | ||
[gemnasium-image]: https://img.shields.io/gemnasium/plouc/mozaik-ext-time.svg?style=flat-square | ||
@@ -112,0 +132,0 @@ [gemnasium-url]: https://gemnasium.com/plouc/mozaik-ext-time |
46362
127