Skip to content

FlipProgress

FlipProgress = object

Defined in: core/src/controller.ts:78

Where a turn is, between the spread it started from and the spread it leads to.

readonly direction: FlipDirection

Defined in: core/src/controller.ts:83


readonly from: number

Defined in: core/src/controller.ts:80

First page of the spread on show when the turn began.


readonly progress: number

Defined in: core/src/controller.ts:89

0 with the page at rest on from, 1 with it landed on to; in between, how far across the book the page’s corner has come, which for a hard page is how far round it has swung. A turn always ends on exactly 0 (dropped back, or cut short) or 1.


readonly to: number

Defined in: core/src/controller.ts:82

First page of the spread the turn leads to.