144 lines
1.4 KiB
Plaintext
144 lines
1.4 KiB
Plaintext
|
|
p.location-badge.
|
|
exported from <a href='../router'>angular2/router</a>
|
|
defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/src/router/location.ts#L6-L59">angular2/src/router/location.ts (line 6)</a>
|
|
|
|
:markdown
|
|
|
|
|
|
.l-main-section
|
|
h2 Members
|
|
.l-sub-section
|
|
h3 constructor
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
constructor(_browserLocation: BrowserLocation, href?: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 path
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
path()
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 normalize
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
normalize(url: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 normalizeAbsolutely
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
normalizeAbsolutely(url: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 go
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
go(url: string)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 forward
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
forward()
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 back
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
back()
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 subscribe
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
subscribe(onNext, onThrow?, onReturn?)
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|