Accordion Card

This post is referring to Vahana 2 (beta version). To check the document for production, please go to vDesigner-v1.0

In the “Accordion” element, the “Accordion Card” element is a big canvas that contains second level of information or a brief description of the topic. While the “Accordion Header” element has the topic name, the “Accordion Card” element contains the description of that topic.

If the accordion is used to display different levels of menus, the “Accordion Header” element displays the first level menus, and the “Accordion Card” element contains the sub-menus or second-level menus. In the accordion element, you can expand and collapse the accordion card to view and hide the information, respectively.

Usage

When to use
–> Use the accordion card to display the description of a topic-based accordion.
–> Use accordion card to display sub-menus or second-level information.

Accordion Card Configuration

The “Accordion Header” element has the following property:

  • UI Configuration

UI Configuration

For the “Accordion Card” element, you can configure the following properties:

TabProperty NameDescriptionMandatoryNew Default ValueVisibility Rule
BasicReference NameSpecifies a unique name of the element. At the application level, an element is identified and managed by the reference name.Yes
UI Properties-BackgroundTypeAllows you to configure the element’s background by providing the following options:
–> Color
–> Image
UI Properties-BackgroundBackground ColorAllows you to configure the background color of the accordion card element. To configure the background color:
–> In the Background Color box, click the left color box (), and a color canvas open.
–> On the canvas, on the horizontal bar, move the circle to select the color.
–> In the upper section, move the circle to select the tone of the color.
No#000000
UI Properties-BackgroundOpacityOpacity is the degree to which content behind an element is hidden, and is the opposite of transparency.

While configuring the background color, you can also define the opacity in the percentage unit.
No100%
UI Properties-BackgroundImage SourceThis box becomes visible after you click the Image tab. To configure an image as the element’s background, you can use one of the following options:
–> None
–> URL
–> Asset Library
No
UI Properties-BackgroundImage URLThis box becomes visible after you select URL in the Image Source list. In the Image URL box, enter the URL of an image. The application fetches the image from the URL-based location and then displays it as the element’s background.YesURLIf “Image Source” = “URL”
UI Properties-BackgroundSelect AssetThis box becomes visible after you select Assets Library in the Image Source list. This property allows you to configure an image as the element?s background from the Assets Manager module. To configure the image:
–> Click the asset library icon (), and the Select Asset dialog box opens.
–> In the Select Asset dialog box, select an image and then click Select, and you successfully configure the image as the element’s background.
YesNo File SelectedIf “Image Source” = “Asset Library”
UI Properties-BackgroundElevationAllows you to configure the elevation of the background. The elevation is measured as the relative distance between two surfaces along the Z-axis.No
UI Properties-BackgroundPaddingAllows you to desirably define padding around each side of the element. It provides four different boxes to define the padding around the right, left, top, and bottom side of the element.No
Theme Variable (Padding)
UI Properties-Shape & DecorationWidth Value
Enter the width of the element in the pixel unit or percentage unit.
No
UI Properties-Shape & DecorationHeight ValueEnter the height of the element in the pixel unit.No
UI Properties-Shape & DecorationXAllows you to move the element along the X-axis; when the value increases, the element moves from left to right.No
UI Properties-Shape & DecorationYAllows you to move the element along the Y-axis; when the value increases, the element moves from top to bottom.No
UI Properties-BorderBorder ColorAllows you define the color of the element’s border. To define the color:
–> In the Border Color box, click the left color box (), and a color canvas open.
–> On the canvas, on the horizontal bar, move the circle to select the color.
–> In the upper section, move the circle to select the tone of the color.
UI Properties-BorderOpacityOpacity is the degree to which content behind an element is hidden, and is the opposite of transparency.

While configuring the background color, you can also define the opacity in the percentage unit.
No100%
Was this article helpful?
YesNo