2015-07-27 22:12:30 -07:00
p.location-badge.
exported from <a href='../router'>angular2/router</a>
2015-09-01 13:55:47 -07:00
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.36/modules/angular2/src/router/location.ts#L7-L64">angular2/src/router/location.ts (line 7)</a>
2015-07-27 22:12:30 -07:00
:markdown
2015-09-01 13:55:47 -07:00
Maps application URLs into application states, to support deep-linking and navigation.
2015-07-28 13:28:47 -07:00
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation Injectable
pre.prettyprint
code.
@Injectable()
2015-07-27 22:12:30 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
2015-09-01 13:55:47 -07:00
constructor(platformStrategy: LocationStrategy, href?: string)
2015-07-27 22:12:30 -07:00
:markdown
2015-09-01 13:55:47 -07:00
.l-sub-section
h3 platformStrategy
:markdown
2015-07-27 22:12:30 -07:00
.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: (value: any) => void, onThrow?: (exception: any) => void, onReturn?: () => void)
:markdown