Configuration¶
Info
Only option and set fields are supported
Configuration in Add-ons¶
Go to Lime Admin => Add-ons => Option Visualizer => Option Visualizers => Add item:
Properties to fill¶
| Property name | Default value | Description |
|---|---|---|
| Limetype | - |
What limetype to configue |
| Property | - |
What lime property to configue |
| Prefix | Icon |
What should be displayed before the value Icon, Colored dot or None |
| Value | true |
Should the value be displayed |
| Badge | false |
Should it be rendered on a badge (Only applicable in table view) |
| Visualizer Configurations | - |
Config for how each option should be displayed See more here |
Visualizer Config¶
For each option to visualize add a Visualizer Config
During first setup all options will automatically be added for configuration (except options with key empty)
Options added after first setup must be added manually.
If an option is missing visualizer configuration it will be rendered without icon and with a default color
Visualizer config¶
| Property name | Default value | Description |
|---|---|---|
| Option | - |
What option to configure |
| Icon | - |
What icon to display (if prefix is set to Icon) |
| Color | - |
Color to use (Badge, Icon, or Colored dot) |
Add Web-component¶
Card view¶
- Go to
Lime Admin=>Views=><Limetype>=>Card: - Locate the
<Field>you want to visualize and add aWeb Component. - As a name write:
lwc-limepkg-option-visualizer-card
Table view¶
- Go to
Lime Admin=>Views=><Limetype>=>Table: - Locate the
<Field>you want to visualize and add aWeb Component. - As a name write:
lwc-limepkg-option-visualizer-table