Method: destroy: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
You can also remove the container | You can also remove the container <tt>#flipbook</tt>, for example: | ||
<pre class="javascript"> | <pre class="javascript"> | ||
Line 19: | Line 19: | ||
</pre> | </pre> | ||
== | |||
[[Zoom | '''Note:''' Destroying a flipbook will automatically destroy the zoom viewport if defined. | ||
==See also== | |||
[[Zoom Method: destroy|Destroying the zoom viewport]]. | |||
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb> | <yambe:breadcrumb>Turn Methods</yambe:breadcrumb> |
Latest revision as of 01:35, 9 July 2012
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();
Note: Destroying a flipbook will automatically destroy the zoom viewport if defined.
See also
Destroying the zoom viewport. <yambe:breadcrumb>Turn Methods</yambe:breadcrumb>