Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 335 Bytes

plugintoggle.md

File metadata and controls

12 lines (9 loc) · 335 Bytes

Plugin: Toggle

Bind a key to toggle the de/initialization of jmpress.js. Example:

$("#jmpress").jmpress("toggle", 27, {
	// jmpress options
}); // Bind escape key

There is a optional 3rd boolean parameter which indicate the initial status of jmpress.js. Set it to true to automatically initialize jmpress.js.