The Swipe to Reveal component allows a user to drag on the left or right side of a List Item to reveal an area with additional content or actions. This is typically used with a List View, but could be used with other components.
This component is commonly used on tablets and phones. For examples of transitions, see Animated Transitions doc.
Appearance characteristics for this component.
Common behaviors for this component.
Usage guidelines for this component.
AMX sample code for this component.
<amx:accessoryLayout id="alSimple" rendered="#{pageFlowScope.componentProperties.rendered}"
inlineStyle="#{pageFlowScope.componentProperties.inlineStyle}" styleClass="#{pageFlowScope.componentProperties.styleClass}"
contentStyle="#{pageFlowScope.componentProperties.contentStyle}" contentClass="#{pageFlowScope.componentProperties.contentClass}"
startDesc="#{pageFlowScope.componentProperties.startDesc}" startWidth="#{pageFlowScope.componentProperties.startWidth}"
startStyle="#{pageFlowScope.componentProperties.startStyle}" startClass="#{pageFlowScope.componentProperties.startClass}"
startFullTriggerSelector="#{pageFlowScope.componentProperties.startFullTriggerSelector}"
endDesc="#{pageFlowScope.componentProperties.endDesc}" endWidth="#{pageFlowScope.componentProperties.endWidth}"
endStyle="#{pageFlowScope.componentProperties.endStyle}" endClass="#{pageFlowScope.componentProperties.endClass}"
endFullTriggerSelector="#{pageFlowScope.componentProperties.endFullTriggerSelector}">
<amx:facet name="start">
<amx:commandLink id="clStartSimple" text="Start" styleClass="full-trigger">
<amx:showPopupBehavior popupId="startPopup" type="action"
alignId="pp1" align="overlapMiddleCenter"/>
</amx:commandLink>
</amx:facet>
<amx:facet name="end">
<amx:commandLink id="clEndSimple" text="End" styleClass="full-trigger">
<amx:showPopupBehavior popupId="endPopup" type="action"
alignId="pp1" align="overlapMiddleCenter"/>
</amx:commandLink>
</amx:facet>
<amx:outputText id="otContentSimple" value="Simple example"/>
</amx:accessoryLayout>
Fig 1. iOS Swipe to Reveal
Fig 2. Android Swipe to Reveal