UI-Router
About
Tutorials
Guide
API Docs
Resources
Blog
Queue | @uirouter/angular
Search
Preparing search index...
The search index is not available
@uirouter/angular
Options
Internal UI-Router API
Menu
@uirouter/angular
common
Queue
Class Queue<T>
Type parameters
T
Hierarchy
Queue
Index
Constructors
constructor
Properties
_evict
Listeners
_items
_limit
on
Evict
Methods
clear
dequeue
enqueue
evict
peek
Head
peek
Tail
remove
size
Constructors
new
Queue
(
_items
?:
T[]
, _limit
?:
number
)
:
Queue
Parameters
_items:
Default value
T[]
= []
_limit:
Default value
number
= null
Returns
Queue
Properties
_evict
Listeners
:
function[]
= []
_items
:
T[]
_limit
:
number
on
Evict
:
function
= pushTo(this._evictListeners)
Type declaration
(
val
:
T
)
:
T
Parameters
val
T
Returns
T
Methods
clear
(
)
:
Array
<
T
>
Returns
Array
<
T
>
dequeue
(
)
:
T
Returns
T
enqueue
(
item
:
T
)
:
T
Parameters
item
T
Returns
T
evict
(
)
:
T
Returns
T
peek
Head
(
)
:
T
Returns
T
peek
Tail
(
)
:
T
Returns
T
remove
(
item
:
T
)
:
T
Parameters
item
T
Returns
T
size
(
)
:
number
Returns
number
@uirouter/angular
Public API
common
core
directives
params
resolve
state
transition
url
view
Internal UI-
Router API
"ui-
router-
core/src/common/trace"
common_
hof
common_
predicates
common_
strings
hooks
ng2
path
vanilla
Queue
constructor
_evict
Listeners
_items
_limit
on
Evict
clear
dequeue
enqueue
evict
peek
Head
peek
Tail
remove
size
Generated using
TypeDoc