File tree Expand file tree Collapse file tree
projects/ngqp-demo/src/app/getting-started Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,12 +29,8 @@ const SNIPPETS: { [ key: string ]: string } = {
2929 constructor(private queryParamBuilder: QueryParamBuilder) {
3030 this.paramGroup = queryParamBuilder.group({
3131 // Defines a simple string-typed parameter which will use the query
32- // parameter "q". Changes in the form control will be debounced by
33- // 250ms to avoid too frequent updates.
34- searchText: queryParamBuilder.stringParam({
35- param: 'q',
36- debounceTime: 250,
37- }),
32+ // parameter "q".
33+ searchText: queryParamBuilder.stringParam({ param: 'q' }),
3834 });
3935 }
4036
@@ -56,10 +52,7 @@ export class GettingStartedComponent {
5652
5753 constructor ( private queryParamBuilder : QueryParamBuilder ) {
5854 this . paramGroup = queryParamBuilder . group ( {
59- searchText : queryParamBuilder . stringParam ( {
60- param : 'q' ,
61- debounceTime : 250 ,
62- } ) ,
55+ searchText : queryParamBuilder . stringParam ( { param : 'q' } ) ,
6356 } ) ;
6457 }
6558
You can’t perform that action at this time.
0 commit comments