Inject this mixin in a route-driven controller in order to be able to update query params with a debounce.
Methods
Properties
_checkQueryParamsPresence
(
Boolean
protected
-
param
Check if the provided debounce param is an existing query param
Parameters:
-
param
String- the name of the original query param
Returns:
_debounceParamName
(
String
protected
-
originalParamName
Return the original param name from the debounce param name
Parameters:
-
originalParamName
String- the name of the property to update
Returns:
_originalParamName
(
String
protected
-
debounceParamName
Return the original param name from the debounce param name
Parameters:
-
debounceParamName
String- the name of the property to update
Returns:
_setupDebounceQueryParams
()
protected
Create an observer for each of the properties in debounceQueryParams Note : Use setupController in route to force debounce param update when param is set derectly from the URI
_debounceParamNameSuffix
String protectedThe default debounce name suffix
Example : search
param will generate debounceSearch
attribute
Default: "debounce"