Skip to content
@ng-doc/app / Class

NgDocKindIconComponent

A word chip for a declaration kind (Class, Component, Type alias, ...) or a value type (string, boolean, ...), coloured by the kind.

Decorators
@Component
Selectors
ng-doc-kind-icon
DeclarationTypeScript
@Component({ … })
export class NgDocKindIconComponent { … }

Members

Properties

4
kind: InputSignal<string>
readonly input()

Declaration kind or value type.

label: Signal<string>
protectedreadonly

The word the chip shows.

size: InputSignal<"medium" | "small">
readonly input()

small is the compact chip; medium the regular one.

type: InputSignal<"declaration" | "type">
readonly input()

Whether kind is a declaration kind or a value type; it selects the colours.

Symbol
Kind
Class
Decorators
@Component
Selectors
ng-doc-kind-icon
Scope
@ng-doc/app
Edit this page