Method: destroy
Jump to navigation
Jump to search
Destroys the flipbook. That is, it removes all the pages from the DOM tree and memory as well as event listeners.
| This method does not have parameters. |
|---|
Example:
$("#flipbook").turn("destroy");
You can also remove the container (#flipbook), for example:
$("#flipbook").turn("destroy").remove();
See also
[[Zoom Method: destroy|Destroying the zoom viewport. <yambe:breadcrumb>Turn Methods</yambe:breadcrumb>