@ConsumerType public interface Accordion extends Container
Accordion
Sling Model used for the /apps/core/wcm/components/accordion
component.Modifier and Type | Field and Description |
---|---|
static String |
PN_DESIGN_HEADING_ELEMENT
Name of the configuration policy property that stores the default value for the accordion heading's HTML element.
|
PN_BACKGROUND_COLOR, PN_BACKGROUND_COLOR_ENABLED, PN_BACKGROUND_COLOR_SWATCHES_ONLY, PN_BACKGROUND_IMAGE_ENABLED, PN_BACKGROUND_IMAGE_REFERENCE
Modifier and Type | Method and Description |
---|---|
default String[] |
getExpandedItems()
Returns the items that are expanded by default.
|
default String |
getHeadingElement()
Returns the HTML element to use for accordion headers.
|
default boolean |
isSingleExpansion()
Indicates whether the accordion forces a single item to be expanded at a time or not.
|
getBackgroundStyle, getExportedItems, getExportedItemsOrder, getItems
getExportedType, getId
static final String PN_DESIGN_HEADING_ELEMENT
getHeadingElement()
,
Constant Field Valuesdefault boolean isSingleExpansion()
true
if the accordion forces a single item to be expanded at a time; false
otherwisedefault String[] getExpandedItems()
default String getHeadingElement()
Copyright © 2019. All rights reserved.