mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Updated doclets
Misc changes. Committing to merge upstream changes.
This commit is contained in:
parent
09de239bfa
commit
f23395b60e
@ -282,7 +282,7 @@ $.Button = function( options ) {
|
|||||||
clickHandler: function( event ) {
|
clickHandler: function( event ) {
|
||||||
if ( event.quick ) {
|
if ( event.quick ) {
|
||||||
/**
|
/**
|
||||||
* Raised when a mouse button is pressed and released or touch is initiated end ended in the Button element within the time and distance threshold.
|
* Raised when a mouse button is pressed and released or touch is initiated and ended in the Button element within the time and distance threshold.
|
||||||
*
|
*
|
||||||
* @event click
|
* @event click
|
||||||
* @memberof OpenSeadragon.Button
|
* @memberof OpenSeadragon.Button
|
||||||
@ -299,7 +299,7 @@ $.Button = function( options ) {
|
|||||||
//console.log( "%s : handling key %s!", _this.tooltip, event.keyCode);
|
//console.log( "%s : handling key %s!", _this.tooltip, event.keyCode);
|
||||||
if( 13 === event.keyCode ){
|
if( 13 === event.keyCode ){
|
||||||
/***
|
/***
|
||||||
* Raised when a mouse button is pressed and released or touch is initiated end ended in the Button element within the time and distance threshold.
|
* Raised when a mouse button is pressed and released or touch is initiated and ended in the Button element within the time and distance threshold.
|
||||||
*
|
*
|
||||||
* @event click
|
* @event click
|
||||||
* @memberof OpenSeadragon.Button
|
* @memberof OpenSeadragon.Button
|
||||||
|
@ -118,8 +118,8 @@
|
|||||||
* @memberof OpenSeadragon
|
* @memberof OpenSeadragon
|
||||||
*
|
*
|
||||||
* @property {Array|String|Function|Object[]|Array[]|String[]|Function[]} [tileSources=null]
|
* @property {Array|String|Function|Object[]|Array[]|String[]|Function[]} [tileSources=null]
|
||||||
* As an Array, the tileSource can hold either be all Objects or mixed
|
* As an Array, the tileSource can hold either Objects or mixed
|
||||||
* types of Arrays of Objects, String, Function. When a value is a String,
|
* types of Arrays of Objects, Strings, or Functions. When a value is a String,
|
||||||
* the tileSource is used to create a {@link OpenSeadragon.DziTileSource}.
|
* the tileSource is used to create a {@link OpenSeadragon.DziTileSource}.
|
||||||
* When a value is a Function, the function is used to create a new
|
* When a value is a Function, the function is used to create a new
|
||||||
* {@link OpenSeadragon.TileSource} whose abstract method
|
* {@link OpenSeadragon.TileSource} whose abstract method
|
||||||
@ -241,10 +241,10 @@
|
|||||||
* point is less than this many pixels, ignore the drag event.
|
* point is less than this many pixels, ignore the drag event.
|
||||||
*
|
*
|
||||||
* @property {Number} [zoomPerClick=2.0]
|
* @property {Number} [zoomPerClick=2.0]
|
||||||
* The "zoom distance" per mouse click or touch tap.
|
* The "zoom distance" per mouse click or touch tap. **Note:** Setting this to 1.0 effectively disables the click-to-zoom feature.
|
||||||
*
|
*
|
||||||
* @property {Number} [zoomPerScroll=1.2]
|
* @property {Number} [zoomPerScroll=1.2]
|
||||||
* The "zoom distance" per mouse scroll or touch pinch.
|
* The "zoom distance" per mouse scroll or touch pinch. **Note:** Setting this to 1.0 effectively disables the mouse-wheel zoom feature.
|
||||||
*
|
*
|
||||||
* @property {Number} [zoomPerSecond=1.0]
|
* @property {Number} [zoomPerSecond=1.0]
|
||||||
* The number of seconds to animate a single zoom event over.
|
* The number of seconds to animate a single zoom event over.
|
||||||
|
@ -54,13 +54,7 @@ var THIS = {},
|
|||||||
* @memberof OpenSeadragon
|
* @memberof OpenSeadragon
|
||||||
* @extends OpenSeadragon.EventSource
|
* @extends OpenSeadragon.EventSource
|
||||||
* @extends OpenSeadragon.ControlDock
|
* @extends OpenSeadragon.ControlDock
|
||||||
* @param {OpenSeadragon.Options} [options] - Viewer options. If an {@link OpenSeadragon.Options} object is passed first, all other parameters are ignored. This is the preferred method of creating a viewer.
|
* @param {OpenSeadragon.Options} options - Viewer options.
|
||||||
* @param {String} element - Id of Element to attach to,
|
|
||||||
* @param {String} xmlPath - Xpath ( TODO: not sure! ),
|
|
||||||
* @param {String} prefixUrl - Url used to prepend to paths, eg button images, etc.
|
|
||||||
* @param {OpenSeadragon.Control[]} controls - Array of OpenSeadragon.Control,
|
|
||||||
* @param {OpenSeadragon.Overlay[]} overlays - Array of OpenSeadragon.Overlay,
|
|
||||||
* @param {OpenSeadragon.Control[]} overlayControls - An Array of ( TODO: not sure! )
|
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
$.Viewer = function( options ) {
|
$.Viewer = function( options ) {
|
||||||
@ -120,7 +114,7 @@ $.Viewer = function( options ) {
|
|||||||
customControls: [],
|
customControls: [],
|
||||||
|
|
||||||
//These are originally not part options but declared as members
|
//These are originally not part options but declared as members
|
||||||
//in initialize. Its still considered idiomatic to put them here
|
//in initialize. It's still considered idiomatic to put them here
|
||||||
source: null,
|
source: null,
|
||||||
/**
|
/**
|
||||||
* @member {OpenSeadragon.Drawer} drawer
|
* @member {OpenSeadragon.Drawer} drawer
|
||||||
@ -141,7 +135,7 @@ $.Viewer = function( options ) {
|
|||||||
navigator: null,
|
navigator: null,
|
||||||
|
|
||||||
//A collection viewport is a separate viewport used to provide
|
//A collection viewport is a separate viewport used to provide
|
||||||
//simultanious rendering of sets of tiles
|
//simultaneous rendering of sets of tiles
|
||||||
collectionViewport: null,
|
collectionViewport: null,
|
||||||
collectionDrawer: null,
|
collectionDrawer: null,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user