import { Component } from '@angular/core' ; import { QueryParamBuilder , QueryParamGroup } from '@ngqp/core' ; declare const require ; @ Component ( { selector : 'demo-debounce-time-example' , templateUrl : './debounce-time-example.component.html' , } ) export class DebounceTimeExampleComponent { public paramGroup : QueryParamGroup ; public markup = require ( '!raw-loader!./debounce-time-example.component.html' ) . default ; public typescript = require ( '!raw-loader!./debounce-time-example.component.ts' ) . default ; constructor ( private qpb ) { this . paramGroup = qpb . group ( { searchText : qpb . stringParam ( 'q' , { debounceTime : 1000 , } ) , } ) ; } }