atomic-result-badge (Deprecated)
atomic-result-badge (Deprecated)
The atomic-result-badge
element renders a badge containing a field.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The result field which the component should use. This will look in the Result object first, and then in the Result.raw object for the fields. It is important to include the necessary field in the ResultList component. |
|
|
|
|
Specifies the icon to display.
|
|
|
|
|
The text to display instead of the field. |
|
Shadow Parts
Part | Description |
---|---|
|
The badge element with the background color and text color. |
|
The optional icon displayed in the badge element. |
|
The optional icon displayed in the badge element. |