angular-docs-cn/public/docs/js/latest/api/http/URLSearchParams-class.jade

147 lines
1.5 KiB
Plaintext

p.location-badge.
exported from <a href='../http'>angular2/http</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.33/modules/angular2/src/http/url_search_params.ts#L22-L65">angular2/src/http/url_search_params.ts (line 22)</a>
:markdown
Map-like representation of url search parameters, based on
[URLSearchParams](https://url.spec.whatwg.org/#urlsearchparams) in the url living standard.
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(rawParams: string)
:markdown
.l-sub-section
h3 paramsMap
:markdown
.l-sub-section
h3 rawParams
:markdown
.l-sub-section
h3 has
pre.prettyprint
code.
has(param: string)
:markdown
.l-sub-section
h3 get
pre.prettyprint
code.
get(param: string)
:markdown
.l-sub-section
h3 getAll
pre.prettyprint
code.
getAll(param: string)
:markdown
.l-sub-section
h3 append
pre.prettyprint
code.
append(param: string, val: string)
:markdown
.l-sub-section
h3 toString
pre.prettyprint
code.
toString()
:markdown
.l-sub-section
h3 delete
pre.prettyprint
code.
delete(param: string)
:markdown