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 | @param engine - The search engine class. |
args | ConstructorParameters<E> | @param args - The arguments for the search engine class. |