Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Function

provideSmartNgRX

This provides and all the common SmartNgRX providers.

See Also

Presentation

function provideSmartNgRX(
  config?: Partial<MarkAndDeleteInit> | undefined,
): EnvironmentProviders;

Returns

EnvironmentProviders -

EnvironmentProviders that will get used to provide the common providers to the root of the application.

This must be called, even if you have no options to provide, for SmartNgRX to work.

Parameters

NameTypeDescription
config
Partial<MarkAndDeleteInit> | undefined

the configuration for the mark and delete functionality