jc-story-group
The schema defines the following properties:
Property | Type | Required | Description |
type | component.story-group | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Stories Options | true | |
Properties of the options object:
Property | Type | Required | Description |
data | string | true | Array of items you want to display. |
item | SwitchConfiguration<StoryItemContent> | true | Item displayed in list for each data item from data. It will get item in @context.current.item. Renders root item or first item where 'when' condition is true or empty. |
actionButtonTitle | string | Expression | TextWithFormat | TextLocale | false | Customize bottom action title. This property can be overwritten by `item.onPress.title` property. Default is `Show more`. |
groupName | string | Expression | TextWithFormat | TextLocale | false | Overrides jig name on story group name. |
Array of items you want to display.
Item displayed in list for each data item from data. It will get item in @context.current.item. Renders root item or first item where 'when' condition is true or empty.
Customize bottom action title. This property can be overwritten by item.onPress.title property. Default is Show more.
Default: "Show more"
Overrides jig name on story group name.
The schema defines the following additional types:
Item configuration or collection of items configurations with when condition. Renders root item or first item where 'when' condition is true or empty.
The object must be any of the following types:
The object is an array with all elements of the type SwitchItem<StoryItemContent>.
The object must be any of the following types:
Properties of the JCVideoPlayerOnStoriesConfig object:
Property | Type | Required | Description |
type | component.video-player | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Video Player Options stories | 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) |
thumbnailUri | string | string | true | URI of thumbnail of the video. Like `https://videos.com/images/video\-preview\-image.jpg\` |
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)
URI of thumbnail of the video. Like https://videos.com/images/video-preview-image.jpg
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
Properties of the SwitchItem<StoryItemContent> object:
Property | Type | Required | Description |
when | string | false | |
item | StoryItemContent | true | |