jos
717f1f148b
Moved `emit('_change'...)` from Timeline.setItems to ItemSet.setItems to be consistend with ItemSet.setGroups
8 years ago
Ludo Stellingwerff
f462072d46
Fixed #1592 : Emit a "changed" event after each redraw. Made "change" event private (by prefixing _).
8 years ago
jos
5faef9254f
Fixed #1127 : `doubleClick` event not being fired
9 years ago
jos
5fd3efceb2
Fixed #1491 : Problem using ctrl+drag in combination with using a `DataView`, and an issue with ctrl+drag when using `snap: null`
9 years ago
Liuqing Chen
5009adca92
Rename timeline option 'allDraggable' to 'itemsAlwaysDraggable' and update documentation
9 years ago
Liuqing Chen
5e1169eb88
add allDraggable option for timeline to support dragging unselected item
9 years ago
Martin Fischer
4b414646fa
renamed option from multiselectFiltersGroup to multiselectPerGroup,
added docs
9 years ago
Martin Fischer
46389aeae7
added option multiselectFiltersGroup
9 years ago
jos
637fc3fd87
Fixed `onMoving` not normalizing the dates again after callback
9 years ago
jos
bbbaeb48e0
Fixed #1215 : inconsistent types of properties `start` and `end` in callback functions `onMove`, `onMoving`, `onAdd`
9 years ago
Martin Fischer
2ca22025ea
fixed emitting groupDragged event in callback
9 years ago
Martin Fischer
1f4c9a4f46
added groupId to groupDragged event
9 years ago
Martin Fischer
584f266414
removed updating the groups in groupOrderSwap, started docs
9 years ago
Martin Fischer
5ea6411935
added event handlers for onAddGroup, onMoveGroup, onRemoveGroup
9 years ago
Martin Fischer
c2e7123037
removed unused option groupsDraggable
9 years ago
Martin Fischer
448411ee39
Dragging of Groups working now using a swap function
9 years ago
Martin Fischer
22822da008
group dragging works (on groups with same height) using a swap function
9 years ago
Martin Fischer
b68030a546
Group Dragging in Timeline
9 years ago
Fice
13bd407243
While dragging multiple items across groups, keep the group-offset.
9 years ago
jos
4fd843edd0
Fixed #1033 : Moved item data not updated in DataSet when using an asynchronous `onMove` handler
9 years ago
Alex de Mulder
1a3f63f187
fixed vertical dragging issue from hammer (which was found in network) in the timeline
9 years ago
Martin Fischer
6cf519175c
added templating for groups
9 years ago
bertolds
f43e935bef
Issues #275 , #363 - individual Timeline items editable or readonly
Timeline will check for the property 'editable' on individual items.
if editable === true
ignore timeline option 'editable'
allow item to be edited
else if editable === false
ignore timeline option 'editable'
do not allow item to be edited
else
use timeline option 'editable'
If two items are selected and one is not editable, only the editable
item is draggable.
This change required the css class .vis-editable be moved from the
item set to the individual item containers to maintain proper styling.
9 years ago
jos
7a417337c9
Fixed #923 : Added a property `event` to the properties emitted with the `select` event
9 years ago
jos
626d4b9b8b
Fixed #877 : Added support for metaKey to select multiple items.
9 years ago
jos
09bc7d0993
Call event.stopPropagation() before adding or removing items (see #577 )
9 years ago
jos
03d0e258c6
Fixed #872 : error about deprecated function `unsubscribe`
9 years ago
Alex de Mulder
c2b07f0201
fixed #858
9 years ago
jos
7f01183c4d
Fixed #831 : items losing selection when their type changed.
9 years ago
jos
f26c4ea0aa
Fixed #841 : messing up clientY and pageY in event handling
9 years ago
jos
f30a3a4556
Integrated an option configurator
9 years ago
jos
ce29f5059f
Implemented option `multiselect`, which is false by default
9 years ago
jos
cf8c299d11
Removed the option `padding` for Timeline, is now redundant (can be done purely with css now)
9 years ago
jos
2d8604b8ee
Some fixes in Timeline after merging develop
9 years ago
jos
28f8367f11
Fixed the touch and release events being fired twice each time. Fixed a bug with dragging in the InteractionHandler
9 years ago
jos
b3e3dccad7
Refactored the css of Timeline and Graph2d to have a `vis-` prefix everywhere. (Still a small issue in 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
4f47608a27
Partly fixed issue with updating an item's subgroup (see #745 )
9 years ago
jos
fbfe6ad445
Fixed offset issue with dragging items vertically when the page is scrolled (this regression was introduced a few commits back)
9 years ago
jos
34a576761c
The event handlers `onMove` and `onMoving` are now invoked with all item properties as argument, and can be used to update all properties (like content, className, etc) and add new properties as well
9 years ago
jos
f7a257c522
Fixed #733 : background items being selected on shift+click.
9 years ago
Jos de Jong
0b90860fd9
Fixed #708 : wrong group detected when page is scrolled.
9 years ago
jos
2cf7d106ea
Call `event.stopPropagation()` before callback functions like onAdd, onRemove, etc. (see #577 )
9 years ago
jos
b9bb040967
Fixed #691 : Orientation can now be configured separately for axis and items.
9 years ago
jos
36cb8193d1
Implemented events `click`, `doubleClick`, and `contextMenu`. Implemented method `getEventProperties(event)`.
9 years ago
jos
3e9b7ff06c
Added a file CONTRIBUTING.md
9 years ago
jos
f6217d9d5e
Implemented creating new range items by dragging in an empty space with the ctrl key down.
9 years ago
jos
274a2d7d9d
Fixed #664 : end of item not restored when canceling a move event
9 years ago
jos
76757c978e
Fixed #443 : not being able to drag items to an other group on mobile devices.
9 years ago
jos
1aea9fed30
Implemented option `snap`
9 years ago