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 the prefix is enabled, events such as the turning event will be fired as <tt>turn.turning</tt>.


{| class="wikitable"
{| class="wikitable"

Revision as of 16:09, 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 the prefix is enabled, events such as the turning event will be fired as turn.turning.

Type Default value
Boolean false

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