Yotam Berkowitz
60d81a81e4
add events support for rtl
8 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
ac0563e408
Fit working (still needs simplification)
9 years ago
jos
1648604401
Halfway implementing improved Timeline.fit()
9 years ago
jos
09bc7d0993
Call event.stopPropagation() before adding or removing items (see #577 )
9 years ago
jos
bc3e4a26d1
Fixed #782 : Contents of items created from a template being unnecessary recreated on click, causing mouse events to get lost.
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
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
2cf7d106ea
Call `event.stopPropagation()` before callback functions like onAdd, onRemove, etc. (see #577 )
9 years ago
jos
6818d68ba1
Neatly using hammer2 for the delete button
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
jos
727031283c
Background areas are now neatly ignored from stacking
10 years ago
jos
4a3acd623e
Fixed #331 : onclick events in items not working.
10 years ago
jos
807921b3cb
Implemented field `style` for both items and groups, to set a custom style for individual items.
10 years ago
jos
c87ef9819c
Support for 'style' added for Items
10 years ago
Alex de Mulder
d9e27b5d20
tweaked graph2d based on timeline. Introduced ignoreStacking for items, used in background item type.
10 years ago
jos
31e0c20f72
Simplified the background item support for empty/undefined contents
10 years ago
Alex de Mulder
8f63c115ee
updated background itemtype. No content is allowed now.
10 years ago
Dan Turkenkopf
37c4bfbaff
Write all item fields as data-? attributes on element
If the dataAttributes config option = 'all' then write every field as
data-? attributes on the element.
10 years ago
jos
8ba08c5a8b
Fixed #248 : Implemented support for templates
10 years ago
jos
b7a67920d5
Smarter check whether data changed when redrawing items. (See also #290 )
10 years ago
Dan Turkenkopf
386035180e
Define allowed dataAttributes as Timeline option
Read from an array of allowed dataAttributes at the timeline level and
write them as data- attributes on the item
10 years ago
jos
c8e8691d68
Added vis-light bundle
10 years ago
jos
72dfc0c45f
Reworked all code to commonjs modules. Replaced the build script with Gulp
10 years ago
jos
f0a5b12593
Moved source code from `/src/` to `/lib/`
10 years ago
jos
4ac1d3abcc
Moved utility functions `toScreen`, `toTime`, and `snap` from `options` to `body.util`
10 years ago
jos
0f45b7a2f1
Removed double function naming
10 years ago
jos
a5025b9673
Renamed all functions `repaint` to `redraw`
10 years ago
jos
e79c0772ad
Implemented dragging items from one group to another. Implemented detailed configuration of editable actions.
10 years ago
jos
463aee0ce9
Fixed removing items
10 years ago
jos
36e512cefb
Removed parameter `parent` from Item constructor
10 years ago
jos
58e81f3f70
Created a Group holding ungrouped items, for timelines not using groups
10 years ago
jos
5a5ba084a3
Isolated calculation of visible items in function updateVisibleItems
10 years ago
jos
50a316ea09
New Group starts working
10 years ago
jos
efd861003f
Inserted some more group functionality to ItemSet
10 years ago
josdejong
c886c6d66b
Removed reflow step from Panel, RootPanel, and ContentPanel
10 years ago
josdejong
8c16dad1ca
Simplified TimeAxis
10 years ago
josdejong
699c13d99b
Temporarily fixed stacking in a primitive way
10 years ago
josdejong
8717aac332
Refactored item selection
10 years ago
josdejong
740295165a
Rewritten ItemRange
10 years ago
josdejong
264cdd30b6
Moved some variables from ItemBox to Item
10 years ago
josdejong
62c22f604f
Stacking starts to work
10 years ago
josdejong
e11f0c2b59
Fixed some more merge conflicts
10 years ago
josdejong
285257e6fc
neatly applying option editable everywhere
10 years ago
josdejong
02d9f2f3be
Stop event propagation after deleting an item
10 years ago
josdejong
339d39ec3d
Dragging left and right side of a range almost working
10 years ago
josdejong
797a138696
Timeline items can now be deleted
10 years ago
josdejong
6cd1e21714
Replaced Item.getWidth with a normal property, and ItemRangeOverflow makes a special property with getter/setter
10 years ago