Home > doofinder > Query > setParam
Query.setParam() method
Set the value of a given parameter.
Signature:
setParam(name: keyof QueryParams, value?: unknown): void;
Parameters
Parameter | Type | Description |
---|---|---|
name | keyof QueryParams | Name of the parameter to set. |
value | unknown | The value of the parameter. |
Returns:
void
Remarks
If the value is undefined
the parameter is removed.