info-table

Overview

Version compatibility

  • info-table is supported in all versions of the JourneyApps Runtime.

  • info-table was functionally and visually updated in version 4.79.0 of the JourneyApps Runtime.

  • Please refer to the legacy info-table component documentation for versions prior to 4.79.0 of the JourneyApps Runtime.

This component displays a table with a label, and a number of rows. Each row contains a left-aligned label and a right-aligned value.

Basic Example

The simplest way to use info-table is to specify the <row> tags between the <info-table> tag.

main.view.xml
<info-table label="Example Info Table">
    <row label="Left Value" value="Right Value" />
    <row label="Left Value" value="Right Value" />
    <row label="Left Value" value="Right Value" />
</info-table>

Standard Attributes

label

label

Advanced Attributes

align-label

align-label

content-direction

Version compatibility

content-direction was introduced in version 4.86.1 of the JourneyApps Runtime.

Optional

Type: left-to-right, right-to-left

Default: left-to-right

Specify the direction of the component’s content. Typically this mirrors all elements within the component.

id

id

label-case

Version compatibility

label-case was introduced in version 4.86.5 of the JourneyApps Runtime.

label-case

label-color

label-color

show-if and hide-if

show-ifhide-if

Component Methods

The following component methods are available when an id is assigned to the component and component.infoTable({id:'my-id'}) is called from JS/TS:

scrollIntoView

Programmatically scroll until the info-table is visible in the view.

Last updated