jos
b750d2e4dc
Added css class `vis-editable`, created an example demonstrating individually editable items (see #980 )
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
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
f30a3a4556
Integrated an option configurator
9 years ago
jos
61108f393e
Renamed class `.vis-item-frame` to `.vis-item-overflow`
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
d4ba655050
Changed the 'auto' alignment of range item contents such that it always displays the left side of the conents (see #785 )
9 years ago
jos
1d3ec56c49
Added extra div to background items too
9 years ago
jos
0585fc4d34
Fixed delete button not being visible
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
dd7f8048e0
Fixed #676 : misalignment of background items when using subgroups and the group label's height is larger than the contents.
9 years ago
jos
b5f57c2dd3
Fixed a bug in the configuration option `config` when zooming out a lot when using range items
9 years ago
jos
6fdb09e82f
Implemented configuration option `order: function` to define a custom ordering for the items (see #538 , #324 ).
9 years ago
jos
6818d68ba1
Neatly using hammer2 for the delete button
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
jos
60e0525187
Fixed another bug related to overflowing contents ( #459 )
10 years ago
jos
246b0be530
Fixed background items being selectable and editable when a height is set (see #454 )
10 years ago
jos
e95c28d04f
Fixed #408 : height of background items not 100% when having a fixed or max height defined.
10 years ago
jos
727031283c
Background areas are now neatly ignored from stacking
10 years ago
jos
91075357ab
Ok background areas seem to work fine now
10 years ago
Alex de Mulder
a12e44dc14
updated subgroups to have specific indexes for sorting later on
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
c35261eb9e
cleaned up subgroups, removed magic numbers, added example, works for top and bottom orientations.
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
ace17d4f21
Fixed height of BackgroundItems not being 100% when timeline has a fixed height
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
4d66916793
Oops fixing the overflow issue with the dots of BoxItems broke item selection.
10 years ago
jos
8ba08c5a8b
Fixed #248 : Implemented support for templates
10 years ago
jos
29b4e31b31
Fixed an overflow issue with the dots of BoxItems
10 years ago
jos
f990f09124
Refactored `ItemBox`, `ItemRange`, and `ItemPoint` to respectively `BoxItem`, `RangeItem`, and `PointItem`.
10 years ago
jos
5391f7c29d
Fixed #162 : Implemented a new item type `background`
10 years ago
jos
b0da7fe8cb
Docs updated. A litte refactoring
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
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.
10 years ago
jos
940e903342
Fixed #243 , Fixed #270 : Implemented support for option `align` for range items.
10 years ago
jos
69077c95fa
Removed a resolved todo
10 years ago
jos
c8e8691d68
Added vis-light bundle
10 years ago