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
josdejong
2feb514a2a
Implemented dragging items
10 years ago
josdejong
5801a0e770
Implemented dragging items
10 years ago
josdejong
9e68b81d31
Start with implementing an event bus to propagate events between the components of the Timeline
10 years ago
josdejong
b017edcaaa
Functions `select` and `unselect` on Items working
10 years ago
josdejong
7e6810955d
Switched to 2-space indentation
10 years ago
Eric Gillingham
4beee1f290
Create ItemRangeOverflow item type
Overflow simply extends ItemRange with a new getWidth() function that
determines if the content of the range is wider than the range box
itself.
This did require adding a getWidth() function to the Item object that
always just returns this.width, and adjusting Stack.js to use the new
getWidth() function instead of item.width
11 years ago
josdejong
1ecb550d59
Moved the source files around
11 years ago
josdejong
4eed201768
Renamed source files to match the name of the containing prototype
11 years ago
josdejong
309564e367
Changed propagation of options in components to a prototype based solution
11 years ago
josdejong
58a6831619
Some obvious performance improvements
11 years ago
josdejong
040e53b2ee
Only visible items are rendered now
11 years ago
josdejong
c5d7a9a9a5
Isolated the local classes in a single namespace (using commonjs for referring local classes does not work that handy)
11 years ago
josdejong
6590e2cd2e
Applied node style dependency management, using browserify now to bundle the code
11 years ago