Option: prefix: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Triggers the events including the prefix <tt>turn</tt>.  It affects the name of the event listeners that are defined using the <tt>bind</tt> function.  So for instance, if it's set to <tt>true</tt>, the turning event will be fired as <tt>turn.turning</tt>.
Triggers the events including the prefix <tt>turn</tt>.  It affects the name of the event listeners that are defined using the <tt>bind</tt> function.  So for instance, if it's set to <tt>true</tt>, the turning event will be fired as <tt>turn.turning</tt>.


{| class="wikitable"
{| class="wikitable"
|-
|-
! scope="row" align="right" | Type
! scope="row" | Type
! scope="row" | Default value
|-
| Boolean
| Boolean
|-
! scope="row" align="right" | Default value
| false
| false
|}
|}
<yambe:breadcrumb>Turn Options</yambe:breadcrumb>
<yambe:breadcrumb>Turn Options</yambe:breadcrumb>

Revision as of 04:15, 7 July 2012

Triggers the events including the prefix turn. It affects the name of the event listeners that are defined using the bind function. So for instance, if it's set to true, the turning event will be fired as turn.turning.

Type Default value
Boolean false

<yambe:breadcrumb>Turn Options</yambe:breadcrumb>