Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 1.38 KB

kui_shell_core.BadgeRegistration.md

File metadata and controls

41 lines (23 loc) · 1.38 KB

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>

Defined in

packages/core/src/webapp/views/registrar/badges.ts:43