-
Notifications
You must be signed in to change notification settings - Fork 7
Carousel Docs Review #439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Carousel Docs Review #439
Conversation
|
|
||
| The component based on external [Carousel](https://getbootstrap.com/docs/5.2/components/carousel/). | ||
| <p align="center"> | ||
| <img src="./thumbnail.png" alt="main thumbnail" width="780"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove ./example-images/carousel_component_1.png, component already have thumbnail
| Images for Carousel can be set in the Settings of the UI Builder. The component uses a list of JSON objects where base64-encoded images or URLs to images are stored. Besides the image data, the JSON object contains the **"title"** and the **"content"** properties to display text. As you can see in the image below, the base64-encoded image or the URL to the image is stored in the **"url"** property. | ||
|
|
||
| <p align="center"> | ||
| <img src="./example-images/carousel_component_2.png" alt="main thumbnail" width="780"/> | ||
| </p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have JSON which could be copied and XML that needed for logic.
No need in image of JSON as it useless.
As for description. I believe approach where short and compressed documentation comes first and examples comes after it - is only one right solution for every level software engineers.
So we need to move that down(near already existed example with JSON)
For example Web Bible - MDN
| You can also set images, titles and content by using the Codeless Logic presented below: | ||
|
|
||
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it just duplication of what we already have below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. It is there just to describe the context better.
No description provided.