add( )


Adds query parameters to the current page's URL.

Adds one or more query parameters to the current page's URL.

について 追加() function can only be used when browser rendering happens, meaning you can only use it in frontend code after the page is ready.

If a specified key already exists as a query parameter, the newly specified value will overwrite the key's previous value.

Calling the 追加() function triggers the onChange() event handler if it has been registered.

注: To retrieve the page's current query parameters, use the クエリー 財産である。

メソッド宣言
コピー
メソッド・パラメータ
toAddobjectRequired

An object containing a key:value pair for each query parameter to add to the URL, where the object's keys are the query parameter keys and the object's values are the corresponding query parameter values.

役に立ちましたか?
はい
いいえ