Skip to main content

 

 

 

Template:OutSystems/Documentation_KB/Breadcrumb_New_Layout

 

 

Template:OutSystems/OSLanguageSwitcher

 

Applies only to Mobile Apps and Reactive Web Apps

 

 

OutSystems

Submenu

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • You can use the Submenu UI Pattern to create a menu that is contained within another menu.

    How to use the Submenu UI Pattern

    1. In Service Studio, in the Toolbox, search for Submenu.

      The Submenu widget is displayed.

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

      By default, the Submenu widget contains a Menu placeholder and an Items placeholder that contains a link. You can add as many Items placeholders as required. In this example we add 3 more.

    3. Add the relevant content to the Menu and Items placeholders.

      In this example, we add text to the Menu placeholder, and set the links in the Items placeholders to navigate to a different pages in the app.

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

    Properties

    Property Description
    ExtendedClass (Text): Optional Add custom style classes to the Submenu 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 Submenu UI styles being applied.
    • "myclass1" "myclass2" - Adds the myclass1 and myclass2 styles to the Submenu UI styles being applied.
    • Was this article helpful?