Skip to content

Commit fdc845f

Browse files
committed
[fix] description of treecollection mapVisible() method parameters
1 parent 64433dd commit fdc845f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/tree_collection/api/treecollection_mapvisible_method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ description: You can explore the mapVisible method of TreeCollection in the docu
1313
@params:
1414
- `callback: function` - the function that will be applied to every visible item. The function can take three parameters:
1515
- `item: object` - required, the object of an item
16-
- `index?: number` - optional, the index of an item
17-
- `array?: object[]` - optional, an array with items
16+
- `index: number` - the index of an item
17+
- `array: object[]` - an array with items
1818
- `id?: string | number` - optional, the ID of a control the child items of which will be included
1919
- `direct?: boolean` - optional, defines whether only direct children of the control will be included in the iteration
2020

0 commit comments

Comments
 (0)