provideSearchEngine
| Generic types: | E |
Provides the to enable search in the documentation.
You can create and provide your own if you want to handle the search yourself.
Presentation
function provideSearchEngine (
engine: E,
args: ConstructorParameters<E>,
): Provider ;Returns
Parameters
| Name | Type | Description |
|---|---|---|
| engine | E | The search engine class. |
| args | ConstructorParameters<E> | The arguments for the search engine class. |