jos
b750d2e4dc
Added css class `vis-editable`, created an example demonstrating individually editable items (see #980 )
pirms 10 gadiem
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.
pirms 10 gadiem
jos
ac0563e408
Fit working (still needs simplification)
pirms 10 gadiem
jos
1648604401
Halfway implementing improved Timeline.fit()
pirms 10 gadiem
jos
09bc7d0993
Call event.stopPropagation() before adding or removing items (see #577 )
pirms 10 gadiem
jos
f30a3a4556
Integrated an option configurator
pirms 10 gadiem
jos
61108f393e
Renamed class `.vis-item-frame` to `.vis-item-overflow`
pirms 10 gadiem
jos
cf8c299d11
Removed the option `padding` for Timeline, is now redundant (can be done purely with css now)
pirms 10 gadiem
jos
d4ba655050
Changed the 'auto' alignment of range item contents such that it always displays the left side of the conents (see #785 )
pirms 10 gadiem
jos
1d3ec56c49
Added extra div to background items too
pirms 10 gadiem
jos
0585fc4d34
Fixed delete button not being visible
pirms 10 gadiem
jos
bc3e4a26d1
Fixed #782 : Contents of items created from a template being unnecessary recreated on click, causing mouse events to get lost.
pirms 10 gadiem
jos
b3e3dccad7
Refactored the css of Timeline and Graph2d to have a `vis-` prefix everywhere. (Still a small issue in Graph2d)
pirms 10 gadiem
jos
88a9149369
Fixed preventDefault issue with hammer.js (a brute force solution but lets see how it goes...)
pirms 10 gadiem
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
pirms 10 gadiem
jos
2cf7d106ea
Call `event.stopPropagation()` before callback functions like onAdd, onRemove, etc. (see #577 )
pirms 10 gadiem
jos
dd7f8048e0
Fixed #676 : misalignment of background items when using subgroups and the group label's height is larger than the contents.
pirms 10 gadiem
jos
b5f57c2dd3
Fixed a bug in the configuration option `config` when zooming out a lot when using range items
pirms 10 gadiem
jos
6fdb09e82f
Implemented configuration option `order: function` to define a custom ordering for the items (see #538 , #324 ).
pirms 10 gadiem
jos
6818d68ba1
Neatly using hammer2 for the delete button
pirms 11 gadiem
jos
e19502ebc7
Moving Timeline working with hammer2 (stop event propagation still an issue)
pirms 11 gadiem
jos
3b08676a57
Halfway implementing hammerjs2 for Timeline
pirms 11 gadiem
jos
60e0525187
Fixed another bug related to overflowing contents ( #459 )
pirms 11 gadiem
jos
246b0be530
Fixed background items being selectable and editable when a height is set (see #454 )
pirms 11 gadiem
jos
e95c28d04f
Fixed #408 : height of background items not 100% when having a fixed or max height defined.
pirms 11 gadiem
jos
727031283c
Background areas are now neatly ignored from stacking
pirms 11 gadiem
jos
91075357ab
Ok background areas seem to work fine now
pirms 11 gadiem
Alex de Mulder
a12e44dc14
updated subgroups to have specific indexes for sorting later on
pirms 11 gadiem
Alex de Mulder
f6a1a252ed
updated background item for better subgroup alignment. Fixed dragging items with hiddenDates
pirms 11 gadiem
Alex de Mulder
c35261eb9e
cleaned up subgroups, removed magic numbers, added example, works for top and bottom orientations.
pirms 11 gadiem
jos
4a3acd623e
Fixed #331 : onclick events in items not working.
pirms 11 gadiem
jos
807921b3cb
Implemented field `style` for both items and groups, to set a custom style for individual items.
pirms 11 gadiem
jos
c87ef9819c
Support for 'style' added for Items
pirms 11 gadiem
Alex de Mulder
d9e27b5d20
tweaked graph2d based on timeline. Introduced ignoreStacking for items, used in background item type.
pirms 11 gadiem
jos
ace17d4f21
Fixed height of BackgroundItems not being 100% when timeline has a fixed height
pirms 11 gadiem
jos
31e0c20f72
Simplified the background item support for empty/undefined contents
pirms 11 gadiem
Alex de Mulder
8f63c115ee
updated background itemtype. No content is allowed now.
pirms 11 gadiem
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.
pirms 11 gadiem
jos
4d66916793
Oops fixing the overflow issue with the dots of BoxItems broke item selection.
pirms 11 gadiem
jos
8ba08c5a8b
Fixed #248 : Implemented support for templates
pirms 11 gadiem
jos
29b4e31b31
Fixed an overflow issue with the dots of BoxItems
pirms 11 gadiem
jos
f990f09124
Refactored `ItemBox`, `ItemRange`, and `ItemPoint` to respectively `BoxItem`, `RangeItem`, and `PointItem`.
pirms 11 gadiem
jos
5391f7c29d
Fixed #162 : Implemented a new item type `background`
pirms 11 gadiem
jos
b0da7fe8cb
Docs updated. A litte refactoring
pirms 11 gadiem
jos
b7a67920d5
Smarter check whether data changed when redrawing items. (See also #290 )
pirms 11 gadiem
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
pirms 11 gadiem
Dan Turkenkopf
67915d5806
Store additional item fields as data- attributes
If additional item fields are defined on the DataSet or array being
passed to the timeline, store them as data- attributes on the content
element.
pirms 11 gadiem
jos
940e903342
Fixed #243 , Fixed #270 : Implemented support for option `align` for range items.
pirms 11 gadiem
jos
69077c95fa
Removed a resolved todo
pirms 11 gadiem
jos
c8e8691d68
Added vis-light bundle
pirms 11 gadiem