BadgeStyleDefinition
Defines a Badge Style
TypeScript
export interfaceProperties
| Property | Type | Description | Default |
|---|---|---|---|
| Expression | AdaptableBooleanQuery | ||
| IconProperties | BadgeIconProperties | Settings for Icon to display alongside badge text | |
| PillStyle | BadgePillStyle | Style for the Badge pill (cut-down version of Adaptable Style) | |
| Predicate | BadgeStylePredicate | Optional Rule for deciding whether Badge is displayed | |
| Shape | BadgeShape | Visual shape of the Badge's corner radius | 'Rounded' |
Property Details
Expression
TypeScript
Expression?: AdaptableBooleanQuery;Property Value
IconProperties
Settings for Icon to display alongside badge text
TypeScript
IconProperties?: BadgeIconProperties;Property Value
PillStyle
Style for the Badge pill (cut-down version of Adaptable Style)
TypeScript
PillStyle?: BadgePillStyle;Property Value
Predicate
Optional Rule for deciding whether Badge is displayed
TypeScript
Predicate?: BadgeStylePredicate;Property Value
Shape
Visual shape of the Badge's corner radius
TypeScript
Shape?: BadgeShape;Default Value
'Rounded'