PAK Commands – Image Text Slider
Table of Contents
1. Summary
Prompts the user to select an image, described by a text. Navigating through the options in a slide-show one by one.
2. Examples
Figure 1. The Command
Due to simplicity, the descriptiveText
input parameter will be left empty for the examples. By default, it is set to an empty text, so nothing will show up.
All example images use the Human Task representation of the Workflow Executor. |
The sliderContent
input field takes a JSON, where the images and descriptions are extracted. To pass an image, specify its URL, e.g:
This command cannot display local files! |
[
{
"text":"pak-logo",
"image":"https://pak.asap.de/wp-content/uploads/2023/04/pak_nav_logo.svg"
},
{
"text":"move-forward",
"image":"https://pak.asap.de/wp-content/uploads/2023/05/fast-forward.svg"
}
]
|
|
After the user submits a choice, the URL and text of the selected picture will be stored in the database.
Last updated 2024-12-19 10:07:56 +0100