Yotam Berkowitz
fe49e7e1d1
Improve Item redraw and initial draw performance ( #3475 )
* Make items redraws return queues
* Parallel initial items redraw
* Seperate read and write actions in items
* Parallel all items redraws
* Remove comments
* Fix linting comments
* Fix redraws on actions
* Add stress example
* Fix example files
* Explain and fix example
* Fix comment issues
7 years ago
macleodbroad-wf
19beef7ec0
Tightens up jsdoc lint rules on timeline ( #3362 )
* Tightens up jsdoc lint rules on timeline
* Adds missing options param
7 years ago
macleodbroad-wf
b5ef4b9ed9
lint timeline component item ( #3310 )
7 years ago
Graham J
e54bb16241
Timeline: Allow overriding `align` per item ( #3107 )
Currently `align` is only available as a global timeline configuration
option. This change allows overriding alignment on a per-item basis.
7 years ago
Ondřej Exner
28abf0a5df
timeline - items always draggable upgrade for range ( #3073 )
Awesome work! Thanks again!
7 years ago
Brad Hards
ceb698626a
fix(timeline): #2720 Problems with option editable ( #2743 )
Clean up and centralise edit status for Timeline Items.
7 years ago
Lewis B
8bd597138a
feat(timeline): refactor tooltip to only use one dom-element ( #2662 )
8 years ago
Lewis B
c9f586195a
[Timeline] Added HTML tool-tip support ( #2498 )
* Added HTML tooltip support for Timeline
* Fixed tooltip position on Firefox
* Added Timeline tooltip example
* Updated tooltip location to be next to the mouse
* Added HTML element to example
8 years ago
yotamberk
a093bc4ac0
Add visibleFrameTemplate option for higher item dom content ( #2437 )
* Fix redraw order
* Add initial itemVisibleFrame
* Add visibleFrameTemplate option
* Improve example
* Rename and fix example
* Fix comments from PR
* Fix example
8 years ago
yotamberk
51528bae5a
Tooltip on item update time ( #2247 )
* Add initial onChange item tooltip
* Add example and tooltipOnItemEdit template option
* Add docs and rename option
* Fix docs
* Fix example
* Change example's item types
* Fix point item tooltip
* Fix comments from PR and support bottom orientation properly
* Add semi-colon
8 years ago
yotamberk
cf75437692
Fix dragging items that have a React template ( #2211 )
* Hide vertically hidden ranged items in groups that are not visible
* Add element to templates options
* Fix comment typo
* Add documentation for react mounting
* add react example
* Fix typo
* fix title
* Fix review comments
* Add vis-drag-center to fix dragging bug when template is react component
8 years ago
Yotam Berkowitz
3addd51046
Add vis-drag-center to fix dragging bug when template is react component
8 years ago
yotamberk
932dfb1754
Fix Vertical visibility for all item types ( #2143 )
* Hide vertically hidden ranged items in groups that are not visible
* Fix misspelling
* Fix examples that do not contain groups
* Add example for vertical hidden ranged items
* Fix indent format in RangeItem
* Fix example
* Fix other examples after addition of vertical hiding range items in groups
* Add case of zero margin axis
* Fix commented out lines in examples
* Fix vertical visibility bug
8 years ago
Yotam Berkowitz
b32f9428ff
Fix comment typo
8 years ago
Iskander508
d9576bee50
Added floating-point compensation to range-item width calculation ( #2107 )
* fixes #2092
8 years ago
yotamberk
0ba6e16498
Hide vertically hidden ranged items in groups that are not visible ( #2062 )
* Hide vertically hidden ranged items in groups that are not visible
* Fix misspelling
* Fix examples that do not contain groups
* Add example for vertical hidden ranged items
* Fix indent format in RangeItem
* Fix example
* Fix other examples after addition of vertical hiding range items in groups
* Add case of zero margin axis
8 years ago
Yotam Berkowitz
f1cb7320aa
Hide vertically hidden ranged items in groups that are not visible
8 years ago
Raphaël Pinson
087b96b6cf
Set content width to avoid overflow ( Fix #1853 )
8 years ago
Yotam Berkowitz
4f49135313
remove extra console.logs
8 years ago
Yotam Berkowitz
eb445d6d84
fix stacking bug in rtl and css for rtl
8 years ago
Yotam Berkowitz
60d81a81e4
add events support for rtl
8 years ago
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
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
0585fc4d34
Fixed delete button not being visible
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
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
e19502ebc7
Moving Timeline working with hammer2 (stop event propagation still an issue)
10 years ago
jos
60e0525187
Fixed another bug related to overflowing contents ( #459 )
10 years ago
jos
c87ef9819c
Support for 'style' added for Items
10 years ago
jos
ace17d4f21
Fixed height of BackgroundItems not being 100% when timeline has a fixed height
10 years ago
jos
f990f09124
Refactored `ItemBox`, `ItemRange`, and `ItemPoint` to respectively `BoxItem`, `RangeItem`, and `PointItem`.
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
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
5374721fd6
Added support for title for both items and groups
10 years ago
jos
d78a823d4e
Removed the 'rangeoverflow' item type
10 years ago
jos
610702f21e
Removed all usage of style.bottom
10 years ago
jos
4ac1d3abcc
Moved utility functions `toScreen`, `toTime`, and `snap` from `options` to `body.util`
10 years ago