Mark Salsbery
bb836768f8
Merged upstream changes, fixed conflicts
2013-11-26 10:21:59 -08:00
Mark Salsbery
952fcca46e
Renamed noResizePolling to autoResize
2013-11-25 10:27:03 -08:00
Mark Salsbery
930e8c4dfd
Updated Doclets
2013-11-25 08:48:44 -08:00
Mark Salsbery
190b4425ed
Renamed pollForResize to noResizePolling
...
Flipped truthiness...default of false is better for backward
compatibility
2013-11-23 08:21:08 -08:00
Mark Salsbery
c7971419e2
Added pollForResize option
...
Defaults to true.
2013-11-22 17:07:44 -08:00
Mark Salsbery
ece76925a6
Updated Doclets
...
Lots of changes, most notably event documentation (@event and @fires)
2013-11-21 12:19:07 -08:00
Mark Salsbery
b38823e390
Merged upstream changes
2013-11-20 20:39:06 -08:00
Mark Salsbery
ebb15936e1
Removed the 'onPageChange' callback ( #285 )
...
Fix for #285
Removed the 'onPageChange' callback from the viewer options.
Viewer.goToPage() now raises the 'page' event only.
2013-11-19 12:13:38 -08:00
Mark Salsbery
f23395b60e
Updated doclets
...
Misc changes.
Committing to merge upstream changes.
2013-11-19 11:20:45 -08:00
Mark Salsbery
09de239bfa
Updated doclets
...
Remaining creation options - still need descriptions on some.
Started event descriptions.
Viewer constructor parameters fixed.
2013-11-19 10:08:04 -08:00
Mark Salsbery
b929f26872
Updated doclets
...
Creation options now documented in a typedef doclet named
OpenSeadragon.Options.
2013-11-18 10:06:38 -08:00
Mark Salsbery
ccee9f5149
Updated doclets
...
Updated creation option defaults (issue #93 )
2013-11-18 09:44:54 -08:00
Mark Salsbery
54049927f0
Updated doclets
...
Changed event docs:
Changed userData properties from optional to nullable.
Removed optional type from preventDefaultAction properties.
2013-11-18 06:56:32 -08:00
Mark Salsbery
70b91d57ec
Updated doclets for jsdoc3
...
Updated so jsdoc3 parser picks everything up.
Added event docs.
Lots of documentation content needed...
2013-11-15 22:19:53 -08:00
Antoine Vandecreme
03f25cef5f
Add support to cancel full screen and full page events.
...
Fix fullpage when element has margin or padding.
2013-11-08 15:03:54 -05:00
Antoine Vandecreme
6aca0c0886
Add counter to avoid trying to set scroll indefinitly
...
Style and spelling fixes
Set scrolls tests setup inside own function
2013-11-08 13:56:13 -05:00
Antoine Vandecreme
fafc985ada
Merge branch 'master' of https://github.com/openseadragon/openseadragon into fullscreen
2013-11-08 13:40:04 -05:00
Mark Salsbery
8e325a3748
Added preventDefaultAction flag to MouseTracker
...
Added a boolean preventDefaultAction property (default false) to the
event object passed to MouseTracker handler methods. Implemented in the
following MouseTracker subscribers:
* Viewer.keyboardCommandArea.innerTracker.focusHandler:
preventDefaultAction == true prevents scrolling viewer into view
* Viewer.keyboardCommandArea.innerTracker.keyHandler:
preventDefaultAction == true prevents viewer keyboard navigation
* Viewer.innerTracker.clickHandler: preventDefaultAction == true
prevents viewer zoom on click
* Viewer.innerTracker.dragHandler: preventDefaultAction == true prevents
viewer panning with mouse/touch
* Viewer.innerTracker.scrollHandler: preventDefaultAction == true
prevents viewer zooming on mousewheel/pinch
2013-11-04 12:41:45 -08:00
Antoine Vandecreme
d70845d7eb
Separate fullscreen and fullpage methods ( #91 )
...
Fix scroll issue.
Handle fullscreen denial by the browser
2013-11-02 21:01:04 -04:00
Antoine Vandecreme
d853224c15
Add units tests for scroll
2013-11-01 17:37:19 -04:00
Antoine Vandecreme
7375ba9241
Fix scrolling when exiting full-screen mode.
...
Rename fullpage event to full-page and it's fullpage property to fullPage.
Add pre-full-page event.
2013-10-31 22:19:22 -04:00
Antoine Vandecreme
d4a4276bbc
Fix margin bug with legacy fullscreen mode
2013-10-23 10:00:08 -04:00
Mark Salsbery
984dd267b6
originalEvent Pass through to EventSource events
2013-10-15 11:11:08 -07:00
Antoine Vandecreme
f712e15793
Recenter the image after switching fullscreen mode. #62 and #170
2013-10-14 18:01:58 -04:00
Antoine Vandecreme
4cd98a5da9
Check hash in viewer constructor.
...
Fix #229
Fix #176
2013-10-12 18:30:05 -04:00
iangilman
e006d0e05a
Merge pull request #254 from msalsbery/Event-Handler-Signatures
...
Event Handler Signatures Changed to 'fn(event)' (#251 )
2013-10-11 10:57:20 -07:00
Mark Salsbery
d574700b3d
Event Handler Signatures Changed to 'fn(event)'
...
All event handler signatures changed to 'fn(event)'
eventSource property added to the event object passed
Redundant event source properties removed ('button' and 'viewer'
Documentation updated in MouseTracker
changelog.txt updated
2013-10-10 17:00:15 -07:00
Sharpbarb
3078642927
Update viewer.js
...
Moved call to _updateSequenceButtons inside if ( initialTileSource )
2013-10-10 12:57:02 -07:00
Sharpbarb
4535f47e8d
Update viewer.js
...
trailing whitespace...
2013-10-10 12:35:49 -07:00
Sharpbarb
6b90687ab4
Update viewer.js
...
description; Move _updateSequenceButtons behind goToPage()
2013-10-10 12:27:49 -07:00
Sharpbarb
a862870883
Update viewer.js
...
Formatting; descriptions; rename sequenceButtons to _updateSequenceButtons
2013-10-10 12:25:11 -07:00
Sharpbarb
6f79f80fe0
Update viewer.js
...
trailing white space....
2013-10-09 15:36:21 -07:00
Sharpbarb
0f705d093a
Update viewer.js
2013-10-09 15:31:33 -07:00
Sharpbarb
0d8d770327
Update viewer.js
2013-10-09 15:27:43 -07:00
Sharpbarb
2f33e6c666
Update viewer.js
2013-10-08 21:45:26 -07:00
Sharpbarb
c6597806ba
Update viewer.js
2013-10-08 17:10:26 -07:00
Sharpbarb
54bcd6ea79
Update viewer.js
...
Remove the sequence control update and put it into its own function. This way it can be called after a tilesource is loaded.
2013-10-08 17:07:49 -07:00
Sharpbarb
ec71a4416e
Update viewer.js
2013-10-08 15:01:28 -07:00
Mark Salsbery
5c37a1f375
Ready event signature fixed for consistency
...
Signature now handlerMethod(eventSource, eventData)
2013-10-02 13:09:40 -07:00
Mark Salsbery
ec3141a778
Event Names Normalized
...
Compound event names lower case with hyphen.
Button event names removed "on" and made lower case.
2013-09-30 10:22:06 -07:00
Mark Salsbery
041597998f
Event Names Normalized
...
All event names lower case with no hyphens
2013-09-26 09:50:26 -07:00
iangilman
21aa2dc928
Merge pull request #228 from msalsbery/EventHandler-Rename
...
Renamed EventHandler to EventSource (#225 )
2013-09-25 09:04:04 -07:00
Mark Salsbery
dab182757d
Renamed EventHandler to EventSource ( #225 )
2013-09-24 13:36:13 -07:00
Ian Gilman
6396fe1504
Merge branch 'Original-Events-In-Handlers' of github.com:msalsbery/openseadragon into msalsbery-Original-Events-In-Handlers
...
Fixed Conflicts:
changelog.txt
2013-09-24 10:28:46 -07:00
Nelson Hart
6d6cc363b4
Use style attributes when storing the previous elment size instead of the literal size of the element #220
2013-09-12 10:41:51 -03:00
Mark Salsbery
af078f8f19
MouseTracker Original Events in Handlers
...
Renamed insideElementRelease to insideElementReleased.
2013-09-10 17:31:51 -07:00
Mark Salsbery
13415b36f3
MouseTracker Original Events in Handlers
...
Misc name changes, indentation/whitespace fixes.
Still TODO: Fix documentation, evaluate presence of key handler in a
mouse tracker, evaluate whether isTouchEvent flag should be in all
eventData objects or not.
2013-09-09 14:27:58 -07:00
Mark Salsbery
2e1f71a824
MouseTracker Original Events in Handlers
...
Bug fixes. Event handler methods shouldn't be called directly in
theory...
2013-09-06 12:24:19 -07:00
Mark Salsbery
b3fa8f1184
MouseTracker original events in handlers
...
Implemented "Expose original event in handlers" (#23 ) for MouseTracker
Added OpenSeadragon.getElementOffset() method. Element-relative mouse
coordinates should be correct even if the element and/or page is
scrolled (#131 )
2013-09-05 17:20:17 -07:00
Mark Salsbery
57ae0656c1
Fixes for issues #198 , #201 , #202 , #203
2013-08-26 16:48:59 -07:00