turn.js is an HTML5 page flip library and digital book viewer used to render documents as interactive books. It simulates realistic book page-turning effects for web content and provides a navigation interface for flipping through pages via mouse clicks or touch gestures.
The library supports both single and double page layouts and can synchronize the current page position with browser navigation history. It allows for the dynamic loading of page content and the ability to manage book pages by adding or removing individual sections.
Capability areas include content magnification through zooming, the ability to intercept navigation events to trigger custom logic, and the management of animation states to stop or disable flip effects.