Skip to content

Tankōbon / lib/reader-navigation / DirectionalControls

Interface: DirectionalControls<T> ​

Defined in: lib/reader-navigation.ts:9

The reader's physical controls (arrow keys, click zones, wheel), resolved to page steps.

Type Parameters ​

T ​

T

Properties ​

advance ​

advance: T

Defined in: lib/reader-navigation.ts:11

Moves toward the end of the reading order: the right control in LTR, the left one in RTL.


retreat ​

retreat: T

Defined in: lib/reader-navigation.ts:13

Moves back toward the start: the opposite of advance.