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.
10 years ago
jos
a56f8eb2dc
Hammer2 mostly working in the Timeline
10 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
Alex de Mulder
af5af63558
working arrays to hide, fixed zoom, fixed pinch, made seperate volatile object for dynamic date support.
10 years ago
Alex de Mulder
db06332925
initial hiding of times, currently only one time is allowed
10 years ago
jos
6b61e95bf2
Changed to `moment().add(value, unit)` notation
10 years ago
jos
aaf1afe304
Fixed an error thrown when calling timeline.destroy() (see #294 )
10 years ago