Method: disable: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
(Created page with "<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>")
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Disables and enables the effect. If disabled, users won’t be able to change the current page.
{| class="wikitable"
|-
! scope="col"| Parameter
! scope="col"| Type
! scope="col"| Description
! scope="col"| Default Value
|-
| disable
| Boolean
| Enables or disables the effect
| You must specify this parameter
|}
Example:
<pre class="javascript">
$("#flipbook").turn("disable", true);
</pre>
==See also==
* [[Property: disabled|Property: disabled]]
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Latest revision as of 00:54, 26 October 2022

Disables and enables the effect. If disabled, users won’t be able to change the current page.

Parameter Type Description Default Value
disable Boolean Enables or disables the effect You must specify this parameter

Example:

$("#flipbook").turn("disable", true);

See also

<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>