API Docs for: 0.0.8-0
Show:

Url Class

A simple class that replaces the dojo._Url functionality that became deprecated Construct a Url object from a url string, then the uri and query part of the url string can be accessed from the Url's uri and query field respectively.

Example
 require(["scripts/Url"], function(Url) {
         var urlObj = new Url("http://somewebsite.com");

         // Access the uri and query using the urlObj's fields
         var uri = urlObj.uri;
         var query = urlObj.query;
   });

Constructor

Url

(
  • fullUrl
)

Parameters:

  • fullUrl Object

    a string denoting the full url of a webpage

Item Index