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

106 lines
1.1 KiB
Plaintext
Raw Normal View History

p.location-badge.
exported from <a href='../router'>angular2/router</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.34/modules/angular2/src/router/location_strategy.ts#L5-L14">angular2/src/router/location_strategy.ts (line 5)</a>
:markdown
.l-main-section
h2 Members
.l-sub-section
h3 path
pre.prettyprint
code.
path()
:markdown
.l-sub-section
h3 pushState
pre.prettyprint
code.
pushState(ctx: any, title: string, 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 onPopState
pre.prettyprint
code.
onPopState(fn: (_: any) =&gt; any)
:markdown
.l-sub-section
h3 getBaseHref
pre.prettyprint
code.
getBaseHref()
:markdown