Skip to content
Wai Ho Leung edited this page May 1, 2014 · 4 revisions

WikiAPI ReferenceQueryParams

Parse the URL queries and make them available to the rest of the code. Used to determine embed mode, to load from gists, etc.


# wb.queryParamsToUrl(params)

Returns an encoded URL string from query parameters.

  • params: The query parameters object to be converted to URL.

===

# wb.urlToQueryParams(url)

Returns an object containing the query parameters from a URL.

  • url: The URL string to be converted to query parameters object.
Clone this wiki locally