jc-card
Card component used mostly in custom components
The schema defines the following properties:
Property | Type | Required | Description |
type | component.card | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Card Options | true | |
Properties of the options object:
Property | Type | Required | Description |
children | ComponentDefaultChild[] | true | Define children components inside the card |
direction | enum<string> | false | Direction of layout of components inside the card |
onPress | false | Action that will be triggered by pressing on this component. | |
color | ColorOrConditionalColor | false | Background color of the card based on color or conditional color |
emphasis | EmphasisDefinition | false | Define opacity of the card |
Define children components inside the card
The object is an array with all elements of the type ComponentDefaultChild.
Direction of layout of components inside the card
This element must be one of the following enum values:
- row
- column
Default: "column"
Action that will be triggered by pressing on this component.
Background color of the card based on color or conditional color
Define opacity of the card
The schema defines the following additional types:
ComponentDefaultChild (jc-avatar | jc-bar-chart | jc-button | jc-card | jc-countdown | jc-entity | jc-expander | jc-form | jc-icon | jc-image | jc-interactive-image | jc-line-chart | jc-location | jc-pie-chart | jc-stage | jc-stepper | jc-text | jc-trend | jc-progress-bar | JCVideoPlayerOnJigConfig | jc-view | jc-web-view)
The object must be any of the following types:
This element must be one of the following enum values:
- color1
- color2
- color3
- color4
- color5
- color6
- color7
- color8
- color9
- color10
- color11
- color12
- color13
- color14
This element must be one of the following enum values:
- positive
- negative
- warning
FormChildrenFields (jc-text-field | jc-checkbox | jc-email-field | jc-number-field | jc-dropdown | jc-date-picker | jc-signature-field | jc-media-field | jc-avatar-field)
The object must be any of the following types:
Properties of the JCVideoPlayerOnJigConfig object:
Property | Type | Required | Description |
type | component.video-player | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Video Player Options jigs | true | |
Properties of the options object:
Property | Type | Required | Description |
url | string | string | true | URL of the video |
title | string | Expression | TextWithFormat | TextLocale | false | Title of the video |
subtitle | string | Expression | TextWithFormat | TextLocale | false | Subtitle of the video |
ratio | Ratio | false | Aspect ratio of the video (default = 16:9, only for non-YouTube videos) |
autoplay | boolean | string | false | Autoplay the video (default = true) |
loop | boolean | string | false | Loop the video (default = true) |
onPress | false | Action Keg component that will be triggered by pressing on this image. |
URL of the video
The object must be any of the following types:
Title of the video
Subtitle of the video
Aspect ratio of the video (default = 16:9, only for non-YouTube videos)
Autoplay the video (default = true)
The object must be any of the following types:
Loop the video (default = true)
The object must be any of the following types:
Action Keg component that will be triggered by pressing on this image.
This element must be one of the following enum values:
- 16:9
- 4:3
The object must be any of the following types:
The object is an array with all elements of the type object.
The array object has the following properties:
The object must be any of the following types: