Interface: BadgeRegistration
January 18, 2022 · View on GitHub
Kui API Documentation - v11.0.0 / @kui-shell/core / BadgeRegistration
Interface: BadgeRegistration<Resource>
@kui-shell/core.BadgeRegistration
Interpretation: if the resource passes the given "when" filter, then add the given sidecar badge
Type parameters
| Name | Type |
|---|---|
Resource | extends ResourceWithMetadata |
Table of contents
Properties
Properties
badge
• badge: BadgeSpec | (resource: Resource, tab: Tab) => BadgeSpec
Defined in
packages/core/src/webapp/views/registrar/badges.ts:44
when
• when: ModeFilter<Resource>