UI-Router
About
Tutorials
Guide
API Docs
Resources
Blog
BaseLocationServices | ui-router-ng2
Search
Preparing search index...
The search index is not available
ui-router-ng2
Options
Internal UI-Router API
Menu
ui-router-ng2
vanilla
BaseLocationServices
Class BaseLocationServices
A base
LocationServices
Hierarchy
BaseLocationServices
HashLocationService
MemoryLocationService
PushStateLocationService
Implements
LocationServices
Disposable
Index
Constructors
constructor
Properties
_history
_listeners
_location
fire
After
Update
Methods
_get
_listener
_set
dispose
hash
on
Change
path
search
url
Constructors
new
Base
Location
Services
(
router
:
UIRouter
, fireAfterUpdate
:
boolean
)
:
BaseLocationServices
Parameters
router
UIRouter
fireAfterUpdate
boolean
Returns
BaseLocationServices
Properties
_history
:
HistoryLike
_listeners
:
Function
[]
= []
_location
:
LocationLike
fire
After
Update
:
boolean
Methods
_get
(
)
:
string
Returns
string
_listener
(
evt
:
any
)
:
void
Parameters
evt
any
Returns
void
_set
(
state
:
any
, title
:
string
, url
:
string
, replace
:
boolean
)
:
any
Parameters
state
any
title
string
url
string
replace
boolean
Returns
any
dispose
(
router
:
UIRouter
)
:
void
Parameters
router
UIRouter
Returns
void
hash
(
)
:
any
Returns
any
on
Change
(
cb
:
EventListener
)
:
(Anonymous function)
Parameters
cb
EventListener
Returns
(Anonymous function)
path
(
)
:
any
Returns
any
search
(
)
:
any
Returns
any
url
(
url
?:
string
, replace
?:
boolean
)
:
string
Parameters
url:
Optional
string
replace:
Default value
boolean
= true
Returns
string
ui-
router-
ng2
Public API
core
directives
params
resolve
state
trace
transition
url
Internal UI-
Router API
common
common_
hof
common_
predicates
common_
strings
hooks
ng2
path
vanilla
view
Base
Location
Services
constructor
_history
_listeners
_location
fire
After
Update
_get
_listener
_set
dispose
hash
on
Change
path
search
url
Browser
Location
Config
Hash
Location
Service
Memory
Location
Config
Memory
Location
Service
Push
State
Location
Service
History
Like
Location
Like
Location
Plugin
Services
Plugin
$injector
$q
ARGUMENT_
NAMES
STRIP_
COMMENTS
globals
hash
Location
Plugin
memory
Location
Plugin
push
State
Location
Plugin
split
Equal
split
Hash
split
Query
before
After
Substr
build
Url
get
Params
key
Vals
ToObjectR
location
Plugin
Factory
parse
Url
services
Plugin
trim
Hash
Val
Generated using
TypeDoc
A base
LocationServices