Creating a URL in Dojo

Is there a function in Dojo that allows you to specify URL parameters that I can use for window.open()?

eg. I am looking for a function like someDojoFunction()below.

window.open(someDojoFunction("stackoverflow.com", "param1", 100,  "param2", 200));

Of course, it would be trivial to write such a function, but I do not want to reinvent the wheel, and I want to do it in the Dojo way!

+3
source share
1 answer

Something similar is available .

By the way, if you want to access an arbitrary list of such arguments, look at the object argumentsfor each function.

+1
source

Source: https://habr.com/ru/post/1780554/


All Articles