Skip to content

Commit 1782114

Browse files
SkyZeroZxleonsenft
authored andcommitted
refactor(router): expose ComponentInputBindingOptions in public API
Expose `ComponentInputBindingOptions` as part of the public API
1 parent 8bc31a5 commit 1782114

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

goldens/public-api/router/index.api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@ export class ChildrenOutletContexts {
198198
// @public
199199
export type ComponentInputBindingFeature = RouterFeature<RouterFeatureKind.ComponentInputBindingFeature>;
200200

201+
// @public
202+
export interface ComponentInputBindingOptions {
203+
queryParams?: boolean;
204+
}
205+
201206
// @public
202207
export function convertToParamMap(params: Params): ParamMap;
203208

packages/router/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export {
113113
InMemoryScrollingOptions,
114114
ROUTER_CONFIGURATION,
115115
RouterConfigOptions,
116+
ComponentInputBindingOptions,
116117
} from './router_config';
117118
export {ROUTES} from './router_config_loader';
118119
export {ROUTER_INITIALIZER, RouterModule} from './router_module';

packages/router/src/router_config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export interface InMemoryScrollingOptions {
200200
* @publicApi
201201
* @see withComponentInputBinding
202202
* @see RouterModule#forRoot
203+
* @see [Disable query parameter binding](guide/routing/common-router-tasks#disable-query-parameter-binding)
203204
*/
204205
export interface ComponentInputBindingOptions {
205206
/**

0 commit comments

Comments
 (0)