@openpageflip/react
Version 0.1.1
Patch Changes
-
9a70bd3Thanks @benhonda! - Audit fixes. Core:flipToduring a running flip lands it first instead of overshooting; a press during a flip lands it;drag: falseno longer turns a long drag into a click;ignoreDragOnis validated atcreateBookand acceptsfalse; a resize mid-drag drops the stale fold;turnToout of range throws; a frame timestamp before the tween’s start no longer produces negative progress; the renderer re-asserts its classes on every draw and writes to idle pages once, not every frame; an already-abortedAbortSignalnever subscribes;Book.redraw()added. The unimplementedDirectionvocabulary is removed until right-to-left lands. React:FlipBookredraws instead of re-measuring after each commit, and the ref handle exposesredraw. -
ce0f54dThanks @benhonda! - Docs site at https://benhonda.github.io/openpageflip/ with live demos and a generated API reference. READMEs now point there and embed their quick start from the site’s own examples, which run in the test suite. Types the public API already referred to are exported so the reference (and your editor) can name them:ShadowData,FlipFrame,Emitter,Listener,LayoutOptions,LayoutResult,ResolvedOptionsfrom core andFlipBookEventPropsfrom react. -
Updated dependencies [
9a70bd3,ce0f54d]:- @openpageflip/core@0.2.0