Kui API Documentation - v11.0.0 / @kui-shell/core / BadgeRegistration
@kui-shell/core.BadgeRegistration
Interpretation: if the resource passes the given "when" filter, then add the given sidecar badge
Name | Type |
---|---|
Resource |
extends ResourceWithMetadata |
• badge: BadgeSpec
| (resource
: Resource
, tab
: Tab
) => BadgeSpec
packages/core/src/webapp/views/registrar/badges.ts:44
• when: ModeFilter
<Resource
>