onChange(callback: (prevIndex?: number, index?: number) => void)
|
Triggered when the text button on the left or right is clicked to switch between steps.
- **prevIndex**: index of the step page before the switching.
- **index**: index of the step page after the switching, that is, index of the previous or next page.
|