macleodbroad-wf
c325418244
Addresses code review comments from PR 3382 ( #3398 )
* Corrects usage of @static jsdoc annotation
* Correct unresolvable types
* Correct types in jsdoc and remove extraneous @class & @constructor jsdoc
* Remove incorrect @static jsdoc
* Adds missing jsdoc for param copyFromGlobals
* correct jsdoc in util
* Corrects casing on jsdocs
* Swaps @inheritDoc to @ignore for constructors where constructor args are documented in the class
* Instantiates Errors with `new`
* Addresses improperly defined @callback tags.
* Split callbacks out to separate jsdoc
* Moves constructor jsdocs back to constructor and drop @ignore .
7 years ago
macleodbroad-wf
13747eedd3
Adds missing @extends/@constructor to jsdoc ( #3372 )
* Adds missing @extends for constructors
* Adds names to constructors
7 years ago
macleodbroad-wf
19beef7ec0
Tightens up jsdoc lint rules on timeline ( #3362 )
* Tightens up jsdoc lint rules on timeline
* Adds missing options param
7 years ago
macleodbroad-wf
05cbb3b72c
Adds missing jsdoc and adds lint rule require-jsdoc to build process ( #3354 )
* Change lint rules
* Get eslint passing with require-jsdoc
7 years ago
Steven Jones
35d27c6aed
Disable the default handling of the pinch event when handling it. ( #3334 )
* Disable the default handling of the pinch event when handling it.
* Also disable the touch events to prevent double tap zooming.
7 years ago
macleodbroad-wf
efc4b30011
lint timeline ( #3312 )
7 years ago
Veaceslav Grimalschi
e494514406
Bidirectional scrolling in timeline - make horizontalScroll and verticalScroll work together ( #3162 )
* Bidirectional scrolling.
Make horizontalScroll and verticalScroll work together.
* Fix delta variable declaration
Using ?: operator
* Remove notice about vertical and horizontal scroll conflict
There is no sense considering #3162
7 years ago
Rafael G Goes
56083ec6f3
Adding caching to Range getMillisecondsPerPixel function ( #3154 )
7 years ago
yotamberk
77699b4fd9
Eliminate repeatedly fired `rangechanged` events on mousewheel ( #2989 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Add pausing of rangechanged in scroll
7 years ago
Tom Woudenberg
1cd3b054b6
Rolling mode offset ( #2950 )
7 years ago
yotamberk
3d1e8a3296
Add callback functions to moveTo, zoomIn, zoomOut and setWindow ( #2870 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Add callback functions to moveTo, zoomIn, zoomOut and setWindow
7 years ago
yotamberk
f5b43e8518
fix(timeline): #2672 Item events original event ( #2704 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Fix events returned from mouse events
* Fix example
* Rename censor to stringifyObject in example
7 years ago
Derek Brans
4dc5082cbd
fix: Range.js "event" is undeclared ( #2749 )
7 years ago
yotamberk
6ac924c4c3
fix(timeline): Fix #2590 Min zoom bug ( #2646 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Fix zoom below 1ms bug
7 years ago
Brad Hards
6c22663b3d
Minor cleanups in Timeline Range. ( #2633 )
Fixes default end, and reduces duplicated code. Adds tests.
7 years ago
Uli Fahrer
3bc182b26a
Fix Range ctor with optional options parameter ( #2468 )
8 years ago
yotamberk
3311b9b17e
feat: #1746 rolling mode ( #2439 )
* Add initial support for rolling mode
* Add rollingModeBtn and simplify example
* Make icon in css:
* Remove icon btn
* Add docs
* Fix zoom in rolling mode and initial start/end times
8 years ago
yotamberk
419e6cd516
Fix : #1906 Pass through original hammer.js events ( #2420 )
* Fix redraw order
* Add elements censor and event to emitter
* Fix all recursive loop in json event
* Add docs for event emitted
8 years ago
yotamberk
0545f382ec
Fixes #2295 Issues with vertical scroll and maxHeight ( #2302 )
* Fixes #2273
* Remove console.log
* Fix for zoomable false
* Fix initial scrolling with verticalScroll and fix example
8 years ago
yotamberk
33795a90a1
Fix scroll bugs with vertical scrollbar ( #2228 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
* Fix verticalScroll and horizontalScroll docs
* Fix bug in timeline option.rtl if otion is undefined
* Remove hack
* Fix breaking of timeline
* Fix scrolling bugs
* Remove silly mistake
8 years ago
yotamberk
178e9dc915
Horizontal scroll ( #2201 )
* Hide vertically hidden ranged items in groups that are not visible
* Add vertical scroll when zoom is inactive
* Fix review comments
* Add horizontalScroll option
8 years ago
Yotam Berkowitz
60d81a81e4
add events support for rtl
8 years ago
Yotam Berkowitz
a549ed2d19
add rtl of groups in timeline
8 years ago
Ludo Stellingwerff
8f4e9e9c8f
Several changes to get the performance on dragging back in check.
8 years ago
Jacob Lauzier
d968da74ef
Bad call to getHiddenDurationBetween
Bug in Range.js call to DateUtil.getHiddenDurationBetween. It was passing in this.options.moment which is not expected by getHiddenDurationBetween.
9 years ago
jos
a9ca766af7
Fixed #24 : Implemented support for time zones (see examples/timeline/other/timezone.html)
9 years ago
Martin Fischer
1a3fa5bee4
typo
9 years ago
Martin Fischer
11c820a2ab
added zoomKey to apply zooming only when a specific key is down
9 years ago
jos
20af47e859
Fixed #239 : Do not zoom/move the window when the mouse is on the left panel with group labels
9 years ago
jos
f26c4ea0aa
Fixed #841 : messing up clientY and pageY in event handling
9 years ago
jos
aee5c1e3fd
Renamed option `animate` to `animation`, and changed it to be either a boolean or an object `{duration: number, easingFunction: string}`
9 years ago
jos
08b6f7b75a
Fixed vertical scroll not working in Timeline and Graph2d
9 years ago
jos
88a9149369
Fixed preventDefault issue with hammer.js (a brute force solution but lets see how it goes...)
9 years ago
jos
89cacf51dc
Fixed #541 : `setWindow` not working when applying an interval larger than the configured `zoomMax`.
9 years ago
Alex de Mulder
e9d6c9897a
- Added byUser flag to options of the rangechange and rangechanged event.
9 years ago
jos
a56f8eb2dc
Hammer2 mostly working in the Timeline
9 years ago
jos
e19502ebc7
Moving Timeline working with hammer2 (stop event propagation still an issue)
10 years ago
jos
3b08676a57
Halfway implementing hammerjs2 for Timeline
10 years ago
Alex de Mulder
03b869a1e0
fixed zooming on tablet
10 years ago
jos
090383d462
Fixes for ES5 strict mode
10 years ago
Alex de Mulder
782e3f3468
fixed typo #467 , removed old, unused options from network
10 years ago
Alex de Mulder
e14479f2e0
made sure ranged items do not disappear on a large set window
10 years ago
Alex de Mulder
d35dbef594
fixed all problems with hiddenDates EXCEPT moment on firefox
10 years ago
Alex de Mulder
f6a1a252ed
updated background item for better subgroup alignment. Fixed dragging items with hiddenDates
10 years ago
Alex de Mulder
6ca1700087
fixed selectable for network #371
10 years ago
Alex de Mulder
56af6ac8c7
removed support function
10 years ago
Alex de Mulder
8baad7a749
finalized hiddenDates, fixed tablet support. Cleaned up code, set 4 pixel threshold for performance.
10 years ago
Alex de Mulder
15075b3edc
fixed moveTo, fit and setWindow. Improved animation smoothness
10 years ago
Alex de Mulder
3c8df26e41
fully working hiddenDates! woohoo!
10 years ago
Alex de Mulder
95f7586248
almost working hiddenDates, generic and specific. Only start times now
10 years ago