GestureViewer
provides a state management system to track the current state of the viewer. You can use the useGestureViewerState
hook to access the state of the viewer.
id?: string
GestureViewer
instance."default"
Property | Description | Type | Default Value |
---|---|---|---|
currentIndex | The index of the currently displayed item. | number | 0 |
totalCount | The total number of items. | number | 0 |