(
options: ComponentInputBindingOptions = {},
)
| 837 | * @returns A set of providers for use with `provideRouter`. |
| 838 | */ |
| 839 | export function withComponentInputBinding( |
| 840 | options: ComponentInputBindingOptions = {}, |
| 841 | ): ComponentInputBindingFeature { |
| 842 | const providers = [ |
| 843 | {provide: INPUT_BINDER, useFactory: () => new RoutedComponentInputBinder(options)}, |
| 844 | ]; |
| 845 | |
| 846 | return routerFeature(RouterFeatureKind.ComponentInputBindingFeature, providers); |
| 847 | } |
| 848 | |
| 849 | /** |
| 850 | * Enables view transitions in the Router by running the route activation and deactivation inside of |
no test coverage detected
searching dependent graphs…