Skip to content
@ng-doc/app / Class

NgDocSearchComponent

The search button of the navbar. It opens the search palette on click, with Command+K (Control+K) and, while single-key shortcuts are on, with the slash key. Wide screens show a search field with the key hint; narrow screens show an icon button.

Decorators
@Component
Selectors
ng-doc-search
DeclarationTypeScript
@Component({ … })
export class NgDocSearchComponent { … }

Members

Constructor

1
()
—

Properties

4
chord: WritableSignal<string>
protectedreadonly

The chord that opens the search, as the reader's platform labels it.

protectedreadonly
—
searchEngine: NgDocSearchEngine | null
protectedreadonly
—
protectedreadonly
—

Methods

1
(…): void

Opens the search palette. Focus returns to the element that had it when the palette closes.

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