Interface Accordion
- All Superinterfaces:
Component,ComponentExporter,Container,ContainerExporter,PanelContainer
Defines the
Accordion Sling Model used for the /apps/core/wcm/components/accordion component.- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the configuration policy property that stores the default value for the accordion heading's HTML element.Fields inherited from interface com.adobe.cq.wcm.core.components.models.Container
PN_BACKGROUND_COLOR, PN_BACKGROUND_COLOR_ENABLED, PN_BACKGROUND_COLOR_SWATCHES_ONLY, PN_BACKGROUND_IMAGE_ENABLED, PN_BACKGROUND_IMAGE_REFERENCE -
Method Summary
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getExportedType, getIdMethods inherited from interface com.adobe.cq.wcm.core.components.models.Container
getBackgroundStyle, getExportedItems, getExportedItemsOrder, getItemsMethods inherited from interface com.adobe.cq.wcm.core.components.models.PanelContainer
getChildren
-
Field Details
-
PN_DESIGN_HEADING_ELEMENT
Name of the configuration policy property that stores the default value for the accordion heading's HTML element.- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
- See Also:
-
-
Method Details
-
isSingleExpansion
default boolean isSingleExpansion()Indicates whether the accordion forces a single item to be expanded at a time or not.- Returns:
trueif the accordion forces a single item to be expanded at a time;falseotherwise- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
getExpandedItems
Returns the items that are expanded by default.- Returns:
- the expanded items
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-
getHeadingElement
Returns the HTML element to use for accordion headers.- Returns:
- the HTML element to use for accordion headers
- Since:
- com.adobe.cq.wcm.core.components.models 12.8.0
-