Interface: ILeafList
Implemented by
Table of contents
Properties
Methods
Properties
list
• list: ILeaf
[]
Defined in
leafer/packages/interface/src/data/IList.ts:15
keys
• keys: INumberMap
Defined in
leafer/packages/interface/src/data/IList.ts:16
length
• Readonly
length: number
Defined in
leafer/packages/interface/src/data/IList.ts:17
Methods
has
▸ has(leaf
): boolean
Parameters
Name | Type |
---|---|
leaf | ILeaf |
Returns
boolean
Defined in
leafer/packages/interface/src/data/IList.ts:18
indexAt
▸ indexAt(index
): ILeaf
Parameters
Name | Type |
---|---|
index | number |
Returns
Defined in
leafer/packages/interface/src/data/IList.ts:19
indexOf
▸ indexOf(leaf
): number
Parameters
Name | Type |
---|---|
leaf | ILeaf |
Returns
number
Defined in
leafer/packages/interface/src/data/IList.ts:20
add
▸ add(leaf
): void
Parameters
Name | Type |
---|---|
leaf | ILeaf |
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:22
addAt
▸ addAt(leaf
, index
): void
Parameters
Name | Type |
---|---|
leaf | ILeaf |
index | number |
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:23
addList
▸ addList(list
): void
Parameters
Name | Type |
---|---|
list | ILeaf [] |
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:24
remove
▸ remove(leaf
): void
Parameters
Name | Type |
---|---|
leaf | ILeaf |
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:25
forEach
▸ forEach(itemCallback
): void
Parameters
Name | Type |
---|---|
itemCallback | ILeafListItemCallback |
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:27
sort
▸ sort(reverse?
): void
Parameters
Name | Type |
---|---|
reverse? | boolean |
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:28
clone
▸ clone(): ILeafList
Returns
Defined in
leafer/packages/interface/src/data/IList.ts:29
update
▸ update(): void
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:30
reset
▸ reset(): void
Returns
void
Defined in
leafer/packages/interface/src/data/IList.ts:31
destroy
▸ destroy(): void
Returns
void