Skip to content

scrollToTimestamp(timestamp, animationDuration?) ​

scrollToTimestamp scroll to the specified timestamp.

Reference ​

typescript
(timestamp: number, animationDuration?: number) => void

Parameters ​

  • timestamp Timestamp.
  • animationDuration Animation duration. If it is less than or equal to 0, there is no animation.

Returns ​

scrollToTimestamp returns undefined .

Usage ​

Basic usage ​