Skip to content

Commit 60d8bd8

Browse files
committed
fix(demo): Don't debounce in the getting started example
fixes #57
1 parent 78c8c4e commit 60d8bd8

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

projects/ngqp-demo/src/app/getting-started/getting-started.component.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)