angular-cn/public/docs/js/latest/api/router/Location-class.jade

144 lines
1.4 KiB
Plaintext
Raw Normal View History

2015-06-01 22:51:00 -07:00
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>
2015-06-01 22:51:00 -07:00
:markdown
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(_browserLocation: BrowserLocation, href?: string)
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 path
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
path()
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 normalize
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
normalize(url: string)
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 normalizeAbsolutely
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
normalizeAbsolutely(url: string)
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 go
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
go(url: string)
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 forward
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
forward()
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 back
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
back()
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 subscribe
pre.prettyprint
code.
subscribe(onNext, onThrow?, onReturn?)
2015-06-01 22:51:00 -07:00
:markdown