mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Improve comment for destroy() method.
This commit is contained in:
parent
a563bdb658
commit
f86f9063fd
@ -578,8 +578,17 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
|
||||
|
||||
/**
|
||||
* Function to destroy the viewer and clean up everything created by
|
||||
* OpenSeadragon.
|
||||
* Function to destroy the viewer and clean up everything created by OpenSeadragon.
|
||||
*
|
||||
* Example:
|
||||
* var viewer = OpenSeadragon({
|
||||
* [...]
|
||||
* });
|
||||
*
|
||||
* //when you are done with the viewer:
|
||||
* viewer.destroy();
|
||||
* viewer = null; //important
|
||||
*
|
||||
* @function
|
||||
*/
|
||||
destroy: function( ) {
|
||||
|
Loading…
Reference in New Issue
Block a user