navigation
.throttleLock()
.throttleLock()
Create and hold a lock on the navigation that will release periodically only when the duration is reached. This is useful when letting users navigate with a scrubber for example. This will make sure the reader will not re-layout too often even if the user play with the scrubber too fast.
This does not prevent navigation, only the heavy recalculation that can occurs after (layout, pagination calculation, etc).
Last updated
Was this helpful?