info
Last updated
Last updated
Displays text in an app in a paragraph form. The text can be displayed in a single line, or optionally with a label.
The simplest way to use an info
component is to specify the text to display between the <info>
tags.
label
value
Optional
Type: string
Default: unset
Specify the text to display inside the info
component. This is an alternative to specifying the text directly inside the <info>...</info>
tags.
value
value
align-text
Optional
Type: center
| left
| right
Default: left
Specify if the text content of the info
component.
info
right-aligned textalign-label
Optional
Type: center
| left
| right
Default: left
bind
id
label-case
label-color
show-if
and hide-if
text-color
Optional
Type: string
- can be a named color or #HEX value
Default: Primary font color
Specify the text color of the info's text.
scrollIntoView
Programmatically scroll until the info
component is visible in the view.
Specify how the should be aligned.
The following component methods are available when an is assigned to the component and component.info({id:'my-id'})
is called from JS/TS: