Skip to main content

 

 

 

 

Template:OutSystems/Documentation_KB/Breadcrumb_New_Layout

 

 

Template:OutSystems/OSLanguageSwitcher

 

Applies only to Traditional Web Apps

 

 

OutSystems

Flip Content

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • You can use the Flip Content UI Pattern to display information that when, for example, is clicked, flips and displays different information.

    How to use the Flip content UI Pattern

    1. In Service Studio, in the Toolbox, search for Flip Content.

      The Flip Content widget is displayed.

    2. From the Toolbox, drag the Flip Content widget into the Main Content area of your application's screen.

      By default, the Flip Content widget contains CardFront and CardBack placeholders.

    3. Add the required content for the front and back placeholders inside the Flip Content widget.

      In this example, we add images by dragging the Image widget into the CardFront and CardBack placeholders and from the Image dropdown, selecting an image from the sample OutSystems UI images.

    4. On the Properties tab, you can customize the Flip Content's look and feel by setting any of the (optional) properties.

    After following these steps and publishing the module, you can test the pattern in your app.

    Properties

    Property Description
    IsFlipped (Boolean): Optional If True, the CardFront content is displayed first before flipping. If False, the CardBack content is displayed first before flipping. This is the default.
    FlipSelf (Boolean): Optional If True, the content flips event is triggered with on click. This is the default. If False, you can define the action that triggers the flip.
    ExtendedClass (Text): Optional Add custom style classes to the Flip Content UI Pattern. You define your custom style classes in your application using CSS.

    Examples

    • Blank - No custom styles are added (default value).
    • "myclass" - Adds the myclass style to the Flip Content UI styles being applied.
    • "myclass1" "myclass2" - Adds the myclass1 and myclass2 styles to the Flip Content UI styles being applied.
    • Was this article helpful?