pearcetm
45643b94e3
Update button.js
2022-07-28 17:55:21 -04:00
pearcetm
6d5a75bcf7
Bugfix for enable/disable methods for Buttons
...
Fixes https://github.com/openseadragon/openseadragon/issues/2185
2022-07-28 17:53:49 -04:00
Ian Gilman
f31179c9ce
Updated copyright to 2022
2022-06-08 15:02:29 -07:00
Mark Salsbery
23d00c92c1
Added preventDefault option to MouseTracker handlers: scrollHandler, keyDownHandler, keyUpHandler, keyHandler
2021-03-16 19:35:22 -07:00
Mark Salsbery
459fcb9a4e
Merge branch 'master' into ms-mousetracker
...
* master:
Changleg for #1878
Separate properties for buttonGroup and customButtons
Better handle destruction when navigator in custom location
# Conflicts:
# src/viewer.js
2021-03-08 09:42:32 -08:00
Steve Halasz
8178687298
Better handle destruction when navigator in custom location
2020-09-10 17:40:30 -04:00
Mark Salsbery
e74d83f104
New preProcessEvent event
2020-08-12 21:22:48 -07:00
Mark Salsbery
e47f629a9e
Undo unnecessary event property changes from previous commit
2020-07-28 20:20:09 -07:00
Mark Salsbery
d2bb480363
Browser sniffing and pointer events fixes and enhancements
2020-07-24 20:05:39 -07:00
Mark Salsbery
c4351f64e8
stricter linting
2020-06-25 16:01:14 -07:00
Johannes Mueller
5f933b12bb
Clear listeners and nodes to avoid memory leaks
2020-06-05 12:27:00 +02:00
leesei
9d96c58eaf
update doc for $.Button
...
relates to #1080
On branch issue-1080
Changes to be committed:
modified: src/button.js
2017-02-02 14:24:16 +08:00
Antoine Vandecreme
de25b68b43
Add eslint and hound
2017-01-16 21:41:07 +01:00
Mark Salsbery
545997bace
MouseTracker now defaults to tracking on ( #558 )
2015-01-20 18:35:58 -08:00
Mark Salsbery
e9b7634499
Added $.setElementTouchActionNone function
2014-08-05 16:57:54 -07:00
Mark Salsbery
bf19e73f5e
touch-action fixup
2014-08-05 16:01:43 -07:00
Mark Salsbery
3521bac90e
Fixed pointer event capture, Cleaned up debug code
2014-08-05 13:56:18 -07:00
Mark Salsbery
e11095968c
Mousetracker Over/Out Tracking Fixes
2014-08-04 21:41:07 -07:00
Antoine Vandecreme
f7d65fa4cb
Make OpenSeadragon W3C compliant.
2014-04-04 16:14:32 -04:00
Mark Salsbery
374d0288dd
Code cleanup
...
Removed commented and leftover code
2013-12-06 16:28:49 -08:00
Mark Salsbery
d3bcd0cec8
Better Button Fix
...
Wrapped the images in a single div and used that as the content of a
button element.
2013-12-06 16:24:52 -08:00
Mark Salsbery
e070475172
Button Tab Index Fix
2013-12-06 15:51:11 -08:00
Mark Salsbery
a6a21d21ae
Button Image Alignment Fix ( #272 , #30 )
...
Changed button element from button to div for consistent rendering
across browsers.
2013-12-06 11:22:51 -08:00
Mark Salsbery
7cb2f7cfd5
Updated Doclets
...
Botton fixes :)
2013-11-25 10:38:50 -08:00
Mark Salsbery
930e8c4dfd
Updated Doclets
2013-11-25 08:48: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
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
e30b0db3aa
Merge remote-tracking branch 'origin/master' into jsdoc3-documentation
2013-11-18 11:11:24 -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
Mark Salsbery
3d2a9e4699
Removed Button href ( #274 )
2013-11-14 10:13:49 -08:00
Mark Salsbery
984dd267b6
originalEvent Pass through to EventSource events
2013-10-15 11:11:08 -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
Mark Salsbery
76733c4ca2
Button event signatures fixed for consistency
...
Button event signatures now "handlerMethod(eventSource, eventData)"
where eventData == { button }
2013-10-03 09:29:20 -07:00
Mark Salsbery
041597998f
Event Names Normalized
...
All event names lower case with no hyphens
2013-09-26 09:50:26 -07:00
Mark Salsbery
dab182757d
Renamed EventHandler to EventSource ( #225 )
2013-09-24 13:36:13 -07: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
56f5b9fb74
MouseTracker Original Events in handlers
...
Comment & Formatting fixes
2013-09-06 10:43:39 -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
Kevin Ewing
248852c15f
Implementing OpenSeadragon.now()
...
Replacing both `+new Date()` and `new Date().getTime()` with `$.now()`
2013-06-20 13:15:04 -07:00
Chris Adams
9f6f164d9f
Remove all whitespace
...
The results of running this command::
find . -name \*.js -print0 | xargs -0 perl -p -i -e "s|[ \t]+$||"
(Split from #136 )
2013-06-19 13:33:27 -04:00
David Steinbrunner
91da6af392
domn to down typo fixes
2013-05-28 17:34:20 -04:00
Benjamin Gilbert
fcc119bb84
Add file-specific descriptions to file headers
2013-05-14 00:00:24 -04:00
Benjamin Gilbert
17a6ee15b1
Include 2010 in "OpenSeadragon contributors" copyright dates
...
This Git repository starts in 2011, but the CodePlex Mercurial repository
has commits from 2010.
2013-05-13 23:32:09 -04:00
Benjamin Gilbert
2f2eba8df2
Add "OpenSeadragon contributors" copyright statement
...
The license text will be provided on the website, etc., and it seems
strange to list no copyright date newer than the original CodePlex
copyright from the AJAX Control Toolkit. Add a blanket copyright
statement for contributions to the OpenSeadragon project, stating that
copyright is held by the authors of each contribution. This blanket
statement is not intended to preclude individual contributors from
attaching their own copyright statements to their modifications.
2013-05-12 17:12:26 -04:00
Benjamin Gilbert
be20645876
Add BSD license block and CodePlex copyright to each source file
...
See discussion in #10 .
2013-05-10 00:16:55 -04:00
thatcher
5b6a2f5873
basic implementation of issue #2
2013-02-28 15:55:24 -05:00
Ian Gilman
9569ff1215
Removed JS Hint globals comment, since it's now in grunt
2013-02-14 12:04:47 -08:00