Constructors
constructor
- new QueryString(url: string, params?: Object): QueryString
-
Parameters
-
url: string
-
Default value params: Object = {}
Properties
parts
parts: string[] = []
Methods
Static destruct
- destruct(location: any): Object
-
Parameters
Returns Object
Static encodeParams
- encodeParams(params: any): string[]
-
Parameters
Returns string[]
Static stringify
- stringify(params: any): string
-
Parameters
Returns string
A utility class to manage Query String paramaters, handles encoding and arrays
url to append parameters to
parameter to append to url