You are viewing the Resources for the older version of JourneyApps (V3). JourneyApps V4 is the new default for all new apps since July 1, 2016.

All View Components → menu

Select a view component to see details on how it works:

menu

A component that displays a list of buttons in a menu style.

Example

Code in View XML:

Appearance on mobile device:

Configuration

Option Required? Details
show-if optional Controls whether the component is hidden or shown. The argument specified to show-if can either be a literal boolean value (true or false), or it can specify a variable, parameter or attribute that can be a string, number, object, etc. that evaluates to false or evaluates to true (see the section Show/Hide Components Dynamically for full details).

hide-if optional The opposite of show-if (see above).

Nested Tags — Buttons

Please refer to the Menu Button sections of the button component for details about the configuration of the buttons in the menu.