Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adding description for itemIndex
  • Loading branch information
fabOnReact committed Jul 11, 2022
commit 2679d451ed083caa076705fec682a7ce103f2e41
2 changes: 1 addition & 1 deletion docs/flatlist.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Provides additional metadata like `index` if you need it, as well as a more gene

- `accessibilityCollectionItem` (Object):
Used by TalkBack to announce the position of the item of a collection (row and column numbers). A collection item is contained in a collection, it starts at a given row and column in the collection, and spans one or more rows and columns. For example, a header of two related table columns starts at the first row and the first column, spans one row and two columns.
- itemIndex
- itemIndex The index of the item in the collection (index of prop.data).
- rowIndex The row index at which the item is located.
- rowSpan The number of rows the item spans.
- columnIndex The column index at which the item is located.
Expand Down
20 changes: 10 additions & 10 deletions docs/virtualizedlist.md
Original file line number Diff line number Diff line change
Expand Up @@ -671,13 +671,13 @@ more rows and columns. For example, a header of two related table columns starts
| ------ |
| object |

| <div className="wideColumn">Name</div> | Type | Description |
| -------------------------------------- | ------ | --------------------------------------------- |
| itemIndex | string | |
| rowIndex | string | The row index at which the item is located |
| rowSpan | string | The number of rows the item spans |
| columnIndex | string | The column index at which the item is located |
| columnIndex | string | The column index at which the item is located |
| columnIndex | string | The column index at which the item is located |
| columnSpan | string | The number of columns the item spans |
| heading | string | Whether the item is a heading |
| <div className="wideColumn">Name</div> | Type | Description |
| -------------------------------------- | ------ | ------------------------------------------------------------ |
| itemIndex | string | The index of the item in the collection (index of prop.data) |
| rowIndex | string | The row index at which the item is located |
| rowSpan | string | The number of rows the item spans |
| columnIndex | string | The column index at which the item is located |
| columnIndex | string | The column index at which the item is located |
| columnIndex | string | The column index at which the item is located |
| columnSpan | string | The number of columns the item spans |
| heading | string | Whether the item is a heading |