Peek.js - Documentation - Public Functions
Below is a list of all the public API functions that can be called from a Peek.js service.
Download Now
Below is a list of all the public API functions that can be called from a Peek.js service.
Download Now
Starts the peek process using the options passed and attaches the viewed to the DOM elements.
Parameter: options: 'Object' - All the options that should be used (refer to "Start Options" documentation for properties).
Returns: 'Object' - The Peek.js class instance.
Stops the peek process.
Returns: 'Object' - The Peek.js class instance.
Closes the dialog.
Returns: 'Object' - The Peek.js class instance.
Sets the specific configuration options that should be used.
Parameter: newOptions: 'Object' - All the configuration options that should be set (refer to "Configuration Options" documentation for properties).
Returns: 'Object' - The Peek.js class instance.
Returns the version of Peek.js.
Returns: 'string' - The version number.