Webix-jet setParam / removeParam

Is there a way to removeParam(parameterName), as opposite as setParam(parameterName, value) ?

Hi @franck34

I’m afraid there are no plans to implement a particular method for this action.
So far we don’t see any benefits of an additional removeParam method, since it will rely on the features listed below.

.setParam(paramName, "", true) sets an empty value for a parameter.
If the app router does not display the full URL (which is a recommended and a safer way), applying setParam has the necessary effect.

To delete a parameter entirely (including its name from the visible URL), it is also possible to call .show(newUrl) showing an URL without unwanted params.

1 Like

Thank you @Listopad

( -1 )