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

127 lines
1.2 KiB
Plaintext
Raw Normal View History

2015-04-20 13:57:43 -07:00
2015-04-22 08:06:51 -07:00
p.location-badge.
2015-06-01 22:51:00 -07:00
exported from <a href='../router'>angular2/router</a>
defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/src/router/browser_location.ts#L3-L30">angular2/src/router/browser_location.ts (line 3)</a>
2015-04-20 13:57:43 -07:00
:markdown
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor()
:markdown
2015-06-01 22:51:00 -07:00
2015-04-20 13:57:43 -07:00
.l-sub-section
h3 onPopState
2015-04-20 13:57:43 -07:00
pre.prettyprint
code.
onPopState(fn: EventListener)
2015-04-20 13:57:43 -07:00
:markdown
2015-04-20 13:57:43 -07:00
2015-06-01 22:51:00 -07:00
2015-04-20 13:57:43 -07:00
.l-sub-section
h3 getBaseHref
2015-04-20 13:57:43 -07:00
pre.prettyprint
code.
getBaseHref()
2015-04-20 13:57:43 -07:00
:markdown
2015-04-20 13:57:43 -07:00
2015-06-01 22:51:00 -07:00
2015-04-20 13:57:43 -07:00
.l-sub-section
h3 path
2015-04-20 13:57:43 -07:00
pre.prettyprint
code.
path()
2015-04-20 13:57:43 -07:00
:markdown
2015-04-20 13:57:43 -07:00
2015-06-01 22:51:00 -07:00
2015-04-20 13:57:43 -07:00
.l-sub-section
h3 pushState
2015-04-20 13:57:43 -07:00
pre.prettyprint
code.
pushState(state: any, title: string, url: string)
2015-04-20 13:57:43 -07:00
:markdown
2015-04-20 13:57:43 -07:00
2015-06-01 22:51:00 -07:00
2015-04-20 13:57:43 -07:00
.l-sub-section
h3 forward
2015-04-20 13:57:43 -07:00
pre.prettyprint
code.
forward()
2015-04-20 13:57:43 -07:00
:markdown
2015-04-20 13:57:43 -07:00
2015-06-01 22:51:00 -07:00
2015-04-20 13:57:43 -07:00
.l-sub-section
h3 back
2015-04-20 13:57:43 -07:00
pre.prettyprint
code.
back()
2015-04-20 13:57:43 -07:00
:markdown
2015-04-20 13:57:43 -07:00
2015-06-01 22:51:00 -07:00
2015-04-20 13:57:43 -07:00