UI-Router
About
Tutorials
Guide
API Docs
Resources
Blog
UISrefActive | ui-router-react
Search
Preparing search index...
The search index is not available
ui-router-react
Options
Internal UI-Router API
Menu
ui-router-react
components
UISrefActive
Class UISrefActive
Hierarchy
Component
<
UISrefActiveProps
,
any
>
UISrefActive
Implements
ComponentLifecycle
<
UISrefActiveProps
,
any
>
Index
Constructors
constructor
Properties
active
Classes
context
deregister
props
refs
state
states
Methods
add
State
add
State
Info
component
Will
Mount
component
Will
Unmount
create
State
Hash
force
Update
get
Active
Classes
get
Child
Context
render
set
State
Object literals
child
Context
Types
context
Types
prop
Types
Constructors
new UISref
Active
(
props
?:
UISrefActiveProps
, context
?:
any
)
:
UISrefActive
new UISref
Active
(
...
args
:
any
[]
)
:
UISrefActive
Parameters
props:
Optional
UISrefActiveProps
context:
Optional
any
Returns
UISrefActive
Parameters
...
args:
Rest
any
[]
Returns
UISrefActive
Properties
active
Classes
:
object
Type declaration
[
key:
string
]:
string
context
:
any
deregister
:
Function
props
:
{ children?: ReactNode; } & P
refs
:
object
Type declaration
[
key:
string
]:
ReactInstance
state
:
any
states
:
Array
<
UISrefActiveState
>
= []
Methods
add
State
(
stateName
:
any
, stateParams
:
any
, activeClass
:
any
)
:
(Anonymous function)
Parameters
stateName
any
stateParams
any
activeClass
any
Returns
(Anonymous function)
add
State
Info
(
stateName
:
any
, stateParams
:
any
)
:
(Anonymous function)
Parameters
stateName
any
stateParams
any
Returns
(Anonymous function)
component
Will
Mount
(
)
:
void
Returns
void
component
Will
Unmount
(
)
:
void
Returns
void
create
State
Hash
(
state
:
string
, params
:
Object
)
:
string
Parameters
state
string
params
Object
Returns
string
force
Update
(
callBack
?:
function
)
:
void
Parameters
callBack:
Optional
function
(
)
:
any
Returns
any
Returns
void
get
Active
Classes
(
)
:
Array
<
any
>
Returns
Array
<
any
>
get
Child
Context
(
)
:
object
Returns
object
parent
UiSref
Active
Add
State
Info
:
addStateInfo
render
(
)
:
any
Returns
any
set
State
(
f
:
function
, callback
?:
function
)
:
void
set
State
(
state
:
any
, callback
?:
function
)
:
void
Parameters
f
function
(
prevState
:
any
, props
:
UISrefActiveProps
)
:
any
Parameters
prevState
any
props
UISrefActiveProps
Returns
any
callback:
Optional
function
(
)
:
any
Returns
any
Returns
void
Parameters
state
any
callback:
Optional
function
(
)
:
any
Returns
any
Returns
void
Object literals
child
Context
Types
:
object
parent
UiSref
Active
Add
State
Info
:
Requireable
<
any
>
= PropTypes.func
context
Types
:
object
parentUIView
Address
:
Requireable
<
any
>
= PropTypes.object
router
:
Requireable
<
any
>
= PropTypes.object
prop
Types
:
object
children
:
Validator
<
any
>
= PropTypes.element.isRequired
class
:
Validator
<
any
>
= PropTypes.string.isRequired
ui-
router-
react
Public API
components
core
react
resolve
state
trace
transition
url
Internal UI-
Router API
"ui-
router-
core/src/vanilla"
common
common_
hof
common_
predicates
common_
strings
hooks
params
path
vanilla
view
UIRouter
UISref
UISref
Active
constructor
active
Classes
context
deregister
props
refs
state
states
add
State
add
State
Info
component
Will
Mount
component
Will
Unmount
create
State
Hash
force
Update
get
Active
Classes
get
Child
Context
render
set
State
child
Context
Types
context
Types
prop
Types
UIView
Injected
Props
Resolves
UIRouter
Props
UIRouter
State
UISref
Active
Props
UISref
Active
State
UISref
Props
UIView
Address
UIView
Props
UIView
State
id
Generated using
TypeDoc