Interface: ModeRegistration
January 18, 2022 · View on GitHub
Kui API Documentation - v11.0.0 / @kui-shell/core / ModeRegistration
Interface: ModeRegistration<Resource>
@kui-shell/core.ModeRegistration
Interpretation: if the resource passes the given "when" filter, then add the given sidecar mode
Type parameters
| Name | Type |
|---|---|
Resource | extends ResourceWithMetadata |
Table of contents
Properties
Properties
mode
• mode: ModeDeclaration<Resource>
Defined in
packages/core/src/webapp/views/registrar/modes.ts:40
when
• when: ModeFilter<Resource>