jc-countdown
The schema defines the following properties:
Property | Type | Required | Description |
type | component.countdown | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Countdown Options | true | |
Properties of the options object:
Property | Type | Required | Description |
expiresAt | string | string | true | |
align | enum<string> | false | Countdown alignment |
size | small | medium | large | extra-large | string | false | Countdown size |
labels | object | false | Labels style |
onPress | false | Action that will be triggered by pressing on this view. | |
onFinish | false | Action that will be triggered when the countdown finishes. |
The object must be any of the following types:
Countdown alignment
This element must be one of the following enum values:
- left
- center
- right
- stretch
Default: "center"
Countdown size
The object must be any of the following types:
Default: "large"
Labels style
Properties of the labels object:
Property | Type | Required | Description |
isVisible | boolean | string | false | Display labels |
position | enum<string> | false | Labels position |
Display labels
The object must be any of the following types:
Default: true
Labels position
This element must be one of the following enum values:
- bottom
- top
Default: "bottom"
Action that will be triggered by pressing on this view.
Action that will be triggered when the countdown finishes.
![Doc contributor](https://s3.amazonaws.com/archbee-animals/rabbit.png)