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