Accordion

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

The “Accordion” element is a content area that can be expanded or collapsed. It contains a vertically placed list of items. In the list, the “Accordion” element can have labels or thumbnails. Each item in the list can be expanded or collapsed to display the content associated with that item.

Usage

When to use
–> An accordion can be used to group or hide the complex regions to keep the page clean.
–> An accordion is a special kind of collapsible/expandable element, which allows only one panel to be expanded at a time.

Accordion Configuration

The “Accordion” element has the following property:

  • UI Configuration

UI Configuration

For the “Accordion” element and its header section, you can configure the following properties:

TabProperty NameDescriptionMandatoryNew Default ValueVisibility Rules
BasicReference NameSpecifies a unique name of the element. At the application level, an element is identified and managed by the reference name.YesColumn_xxxxx
BasicElevationAllows you to configure the elevation of the background. The elevation is measured as the relative distance between two surfaces along the Z-axis.No
BasicVisibleClick this check box to make the element visible to the end-user.NoClear
BasicEnableClick this check box to make the element active in the application. The end-user can perform the function on the active element.NoClear
UI propertiesStylesAllows 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.
UI Properties-Alignment & SpacingMarginAllows you to define a margin around each side of the element. It provides four different boxes to define the margin outside the right, left, top, and bottom borders of the element.NoTheme Variable (Margin)
UI Properties-Shape & DecorationWidth ValueEnter 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.NoCurrent X coordinate of the element
UI Properties-Shape & DecorationYAllows you to move the element along the Y-axis; when the value increases, the element moves from top to bottom.NoCurrent Y coordinate of the element
UI Properties-Shape & DecorationBorder 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.
No#FFFFFF

Was this article helpful?
YesNo