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 → heading

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

heading

An component that displays text in a large format to serve as a heading (e.g. for a section of one of your app's screens).

Example

Code in View XML:

Note that you can use a Format String to make the text inside the heading dynamic:

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).