PBKware JS Utils - v0.8.2
GitHub
NPM
Preparing search index...
anchored-records-list
AnchoredRecordsList
Class AnchoredRecordsList<Record>
Type Parameters
Record
extends
Record
Implements
RecordList
<
Record
>
Index
Constructors
constructor
Accessors
anchored
Record
Count
count
records
Methods
are
All
Indexed
Records
Anchored
are
Sorted
Indexed
Records
All
At
End
are
Sorted
Indexed
Records
All
At
Start
assign
clear
get
At
index
Of
insert
move
move
Indexed
Records
One
Position
Towards
End
With
Squash
move
Indexed
Records
One
Position
Towards
Start
With
Squash
move
Indexed
Records
To
End
move
Indexed
Records
To
Start
remove
remove
Indexed
Records
subscribe
List
Change
Event
to
Array
unsubscribe
List
Change
Event
Constructors
constructor
new
AnchoredRecordsList
<
Record
extends
Record
>
()
:
AnchoredRecordsList
<
Record
>
Type Parameters
Record
extends
Record
Returns
AnchoredRecordsList
<
Record
>
Accessors
anchored
Record
Count
get
anchoredRecordCount
()
:
number
Returns
number
count
get
count
()
:
number
Returns
number
records
get
records
()
:
readonly
Record
[]
Returns
readonly
Record
[]
Methods
are
All
Indexed
Records
Anchored
areAllIndexedRecordsAnchored
(
recordIndices
:
number
[]
)
:
boolean
Parameters
recordIndices
:
number
[]
Returns
boolean
are
Sorted
Indexed
Records
All
At
End
areSortedIndexedRecordsAllAtEnd
(
sortedRecordIndices
:
number
[]
)
:
boolean
Parameters
sortedRecordIndices
:
number
[]
Returns
boolean
are
Sorted
Indexed
Records
All
At
Start
areSortedIndexedRecordsAllAtStart
(
sortedRecordIndices
:
number
[]
)
:
boolean
Parameters
sortedRecordIndices
:
number
[]
Returns
boolean
assign
assign
(
newRecords
:
readonly
Record
[]
,
anchoredCount
:
number
)
:
void
Parameters
newRecords
:
readonly
Record
[]
anchoredCount
:
number
Returns
void
clear
clear
()
:
void
Returns
void
get
At
getAt
(
index
:
number
)
:
Record
Parameters
index
:
number
Returns
Record
index
Of
indexOf
(
record
:
Record
)
:
number
Parameters
record
:
Record
Returns
number
insert
insert
(
index
:
number
,
records
:
Record
[]
)
:
void
Parameters
index
:
number
records
:
Record
[]
Returns
void
move
move
(
fromIndex
:
number
,
toIndex
:
number
,
count
:
number
)
:
void
Parameters
fromIndex
:
number
toIndex
:
number
count
:
number
Returns
void
move
Indexed
Records
One
Position
Towards
End
With
Squash
moveIndexedRecordsOnePositionTowardsEndWithSquash
(
moveIndices
:
number
[]
)
:
void
Parameters
moveIndices
:
number
[]
Returns
void
move
Indexed
Records
One
Position
Towards
Start
With
Squash
moveIndexedRecordsOnePositionTowardsStartWithSquash
(
moveIndices
:
number
[]
)
:
void
Parameters
moveIndices
:
number
[]
Returns
void
move
Indexed
Records
To
End
moveIndexedRecordsToEnd
(
moveIndices
:
number
[]
)
:
void
Parameters
moveIndices
:
number
[]
Returns
void
move
Indexed
Records
To
Start
moveIndexedRecordsToStart
(
moveIndices
:
number
[]
)
:
void
Parameters
moveIndices
:
number
[]
Returns
void
remove
remove
(
index
:
number
,
count
:
number
)
:
void
Parameters
index
:
number
count
:
number
Returns
void
remove
Indexed
Records
removeIndexedRecords
(
removeIndices
:
number
[]
)
:
void
Parameters
removeIndices
:
number
[]
Returns
void
subscribe
List
Change
Event
subscribeListChangeEvent
(
handler
:
ListChangeEventHandler
)
:
number
Parameters
handler
:
ListChangeEventHandler
Returns
number
to
Array
toArray
()
:
readonly
Record
[]
Returns
readonly
Record
[]
unsubscribe
List
Change
Event
unsubscribeListChangeEvent
(
subscriptionId
:
SubscriptionId
)
:
void
Parameters
subscriptionId
:
SubscriptionId
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
anchored
Record
Count
count
records
Methods
are
All
Indexed
Records
Anchored
are
Sorted
Indexed
Records
All
At
End
are
Sorted
Indexed
Records
All
At
Start
assign
clear
get
At
index
Of
insert
move
move
Indexed
Records
One
Position
Towards
End
With
Squash
move
Indexed
Records
One
Position
Towards
Start
With
Squash
move
Indexed
Records
To
End
move
Indexed
Records
To
Start
remove
remove
Indexed
Records
subscribe
List
Change
Event
to
Array
unsubscribe
List
Change
Event
GitHub
NPM
PBKware JS Utils - v0.8.2
Loading...