The “Carousel” element is a rotating banner or slideshow that displays the content in a navigated slides or banners. It allows you to manually slide through the images or slides of text, or it plays them automatically.
You can use the carousel element to display images, products, and promotions on the home page. You can configure the carousel to display items horizontally or vertically. In a carousel, you can implement images or slides as clickable items so that when the user clicks an image or slide, the application displays the related content or page.
|When to Use|
|Use the Carousel element when:|
a. A group of content is at the same level
b. The space is a constraint; it can be used to display the important information in form of a revolving door
c. You want to display the same type of pictures, images, and products
The “Carousel” element consists of the following properties:
- UI Configuration
For the “Carousel” element, you can configure the following properties:
|Tab||Property Name||Description||Mandatory||New Default Values||Visibility Rules|
|Basic||Reference Name||Specifies a unique name of the element. At the application level, an element is identified and managed by the reference name.||Yes||Carousel_xxxxx|
|Basic||Input Source||This property allows you to configure the source location from where the application fetches the data and then displays it on the card.|
You can click one of the following tabs to configure the input source:
1) Data Store:-
If you select this tab, the Input Value box appears. Click in the Input Value box and then select an entity. After you select an entity, the application will fetch the data (image or content) from the entity and then display it on the card.
If you select this tab, the Input Value box appears. In the Input Value box, enter a value. When the application loads the related page, it will display this static value on the card.
|Basic||Axis||Allows you to define the alignment of the carousel’s content as follows:|
i. Vertical:- If you select this tab, the application will display the carousel and its content vertically aligned.
If you select this tab, the application will display the carousel and its content horizontally aligned.
|Basic||Pagination Type||Allows you to define the pagination indicators in the carousel by providing the following options:|
If you select the None option, the pagination indicators will not be available with the carousel. The pagination indicators primarily provide information about the number of slides in the carousel.
By seeing the pagination indicator, the user can determine which slide he is seeing and the sequence number of the slide.
|Basic||Autoplay||By default this property is selected. If this property is selected, the carousel automatically moves the slides to display the content.||No||Selected|
|Basic||Delay (Ms)||In this box, enter a numeric value (for example:- 1500) in milliseconds. This property allows you to define the time to delay the automatic movement of slides in the carousel.||Yes||Null|
|Basic||Infinite Loop||If you select this property, carousel will automatically redisplay the first slide after the user slides past the last slide.||No||Selected|
|Basic||Pause On Hover||This property allows you to configure the movement control of the carousel. If you select this property, the application stops the slides’ movement when the user taps a specific slide to view it.||No||Selected|
|Basic||Visible||Allows you to configure the visibility of the element.||No||Selected|
|Basic||Enable||Allows you to configure the user-action on the element. If this property is selected, the user can perform the function on the element.||No||Selected|
|UI Properties-Style||Styles||Allows you to select a specific style for the element from the list of pre-defined styles. The vDesigner module offers pre-defined styles that you can apply to the element.||No||Default|
|UI Properties-Background||Pagination Active Color||Allows to configure the color of the active pagination indicator. The pagination indicator becomes active when the related slide comes into view on the screen.||No||#0F61FE|
|UI Properties-Background||Pagination Inactive Color||Allows to configure the color of the inactive pagination indicator. The pagination indicator remains inactive until the related slide comes into view on the screen.||No||#E0E0E0|
|UI Properties-Alignment and Spacing||Padding||This property allows you to define padding around each side of the icon. It provides four different boxes to define the padding around the right, left, top, and bottom side of the element.||No||Based on current position of the element on the canvas|
|UI Properties-Alignment and Spacing||Margin||Allows you to desirably define margin around each side of the element. It provides four different boxes to define the margin outside the right, left, top, and bottom border of the element.||No||Based on current position of the element on the canvas|
|UI Properties-Alignment and Spacing||Component’s Alignment||Allows you to define the alignment of the parent element along the x axis of the canvas. It provides the following options to align the element:|
|UI Properties-Shape and Decoration||Type||Under the Shape and Decoration section, this property has the two following options:|
i. Auto Fill:- If you select this option, you cannot change the element’s dimensions. When you drag the element to the canvas, this option is selected by default.
If you select Auto Fill, vDesigner places the element with the default dimensions.
ii. Manual:- If you select this option, you can change the dimensions of the element.
|UI Properties-Shape and Decoration||Width Value||Enter the width of the element in the pixel or percentage unit.||No||Disabled/Inactive|
|UI Properties-Shape and Decoration||Height Value||Enter the height of the element in the pixel unit.||No||Disabled/Inactive|
|UI Properties-Shape and Decoration||X||Allows you to move the element along the X-axis; when the value increases, the element moves from left to right.||No||Current X axis Co-ordinate|
|UI Properties-Shape and Decoration||Y||Allows you to move the element along the Y-axis; when the value increases, the element moves from top to bottom.||No||Current X axis Co-ordinate|