Tags
The Tags component can be used to show array of data as tags.
Properties
Tags
It can be used to set an array of tags. It must be an array of objects like this:
{{
[
{ title: 'success', color: '#2fb344', textColor: '#fff' },
{ title: 'info', color: '#206bc4', textColor: '#fff' },
{ title: 'warning', color: '#f59f00', textColor: '#fff' },
{ title: 'danger', color: '#d63939', textColor: '#fff' }
]
}}
Each object should include a title, a color code for a specific tag, and a corresponding text color.
Component Specific Actions (CSA)
There are currently no CSA (Component-Specific Actions) implemented to regulate or control the component.
Exposed Variables
There are currently no exposed variables for the component.
General
Tooltip
A Tooltip is often used to specify extra information about something when the user hovers the mouse pointer over the component.
Under the General accordion, you can set the value in the string format. Now hovering over the component will display the string as the tooltip.
Layout
Layout | Description | Expected Value |
---|---|---|
Show on desktop | Toggle on or off to display desktop view. | You can programmatically determining the value by clicking on fx to set the value {{true}} or {{false}} . |
Show on mobile | Toggle on or off to display mobile view. | You can programmatically determining the value by clicking on fx to set the value {{true}} or {{false}} . |
Styles
Visibility | Description | Default Value |
---|---|---|
Visibility | Toggle on or off to control the visibility of the component. You can programmatically change its value by clicking on the fx button next to it. If {{false}} the component will not be visible after the app is deployed. | By default, it's set to {{true}} . |