From b28028ac4082842143b0f528d6bc539da6ccb419 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 21 Sep 2017 12:49:18 -0400 Subject: mega changes, including updates and X --- .../timeline/editing/customSnappingOfItems.html | 55 ++++++++ .../examples/timeline/editing/editingItems.html | 77 +++++++++++ .../timeline/editing/editingItemsCallbacks.html | 141 +++++++++++++++++++++ .../timeline/editing/individualEditableItems.html | 58 +++++++++ .../timeline/editing/tooltipOnItemChange.html | 130 +++++++++++++++++++ .../timeline/editing/updateDataOnEvent.html | 90 +++++++++++++ 6 files changed, 551 insertions(+) create mode 100644 www/lib/vis/examples/timeline/editing/customSnappingOfItems.html create mode 100644 www/lib/vis/examples/timeline/editing/editingItems.html create mode 100644 www/lib/vis/examples/timeline/editing/editingItemsCallbacks.html create mode 100644 www/lib/vis/examples/timeline/editing/individualEditableItems.html create mode 100644 www/lib/vis/examples/timeline/editing/tooltipOnItemChange.html create mode 100644 www/lib/vis/examples/timeline/editing/updateDataOnEvent.html (limited to 'www/lib/vis/examples/timeline/editing') diff --git a/www/lib/vis/examples/timeline/editing/customSnappingOfItems.html b/www/lib/vis/examples/timeline/editing/customSnappingOfItems.html new file mode 100644 index 00000000..b1c8ef75 --- /dev/null +++ b/www/lib/vis/examples/timeline/editing/customSnappingOfItems.html @@ -0,0 +1,55 @@ + + + + Timeline | Custom snapping + + + + + + +

+ When moving the items in on the Timeline below, they will snap to full hours, + independent of being zoomed in or out. +

+
+ + + + \ No newline at end of file diff --git a/www/lib/vis/examples/timeline/editing/editingItems.html b/www/lib/vis/examples/timeline/editing/editingItems.html new file mode 100644 index 00000000..186a363c --- /dev/null +++ b/www/lib/vis/examples/timeline/editing/editingItems.html @@ -0,0 +1,77 @@ + + + + Timeline | Manipulation example + + + + + + + + + +

An editable timeline allows to drag items around, create new items, and remove items. Changes are logged in the browser console.

+ +
+ + + + \ No newline at end of file diff --git a/www/lib/vis/examples/timeline/editing/editingItemsCallbacks.html b/www/lib/vis/examples/timeline/editing/editingItemsCallbacks.html new file mode 100644 index 00000000..7c15d878 --- /dev/null +++ b/www/lib/vis/examples/timeline/editing/editingItemsCallbacks.html @@ -0,0 +1,141 @@ + + + + Timeline | Manipulation callbacks + + + + + + + + + + + +

+ This example shows how to use callback functions onAdd, onMove, onMoving, onUpdate, and onRemove. The onMoving function updates an item while dragging, and can be used to prevent the item from being drawn at disallowed or infeasible timeslots. In this example, the items cannot be moved outside of the month April 2013. The other callback functions are called after an add, move, update, or remove action has taken place, and can be used to cancel these actions. +

+ +
+

+
+ + + + \ No newline at end of file diff --git a/www/lib/vis/examples/timeline/editing/individualEditableItems.html b/www/lib/vis/examples/timeline/editing/individualEditableItems.html new file mode 100644 index 00000000..d6210305 --- /dev/null +++ b/www/lib/vis/examples/timeline/editing/individualEditableItems.html @@ -0,0 +1,58 @@ + + + + Timeline | Individual editable items + + + + + + + + + +

Specify individual items to be editable or readonly.

+ +
+ + + + \ No newline at end of file diff --git a/www/lib/vis/examples/timeline/editing/tooltipOnItemChange.html b/www/lib/vis/examples/timeline/editing/tooltipOnItemChange.html new file mode 100644 index 00000000..18380beb --- /dev/null +++ b/www/lib/vis/examples/timeline/editing/tooltipOnItemChange.html @@ -0,0 +1,130 @@ + + + Timeline | Tooltip on item onUpdateTime Option + + + + + + + + + + + +

Timeline Tooltip on item onUpdateTime Option

+ +

With tooltipOnItemUpdateTime: true +

+ +
+ +

With tooltipOnItemUpdateTime: { template: [Function] } +

+ +
+ + +

With groups

+ +
+ + + + diff --git a/www/lib/vis/examples/timeline/editing/updateDataOnEvent.html b/www/lib/vis/examples/timeline/editing/updateDataOnEvent.html new file mode 100644 index 00000000..985551ee --- /dev/null +++ b/www/lib/vis/examples/timeline/editing/updateDataOnEvent.html @@ -0,0 +1,90 @@ + + + Timeline | Update data on event + + + + + + + + + +

+ When the custom time bar is shown, the user can drag this bar to a specific + time. The Timeline sends an event that the custom time is changed, after + which the contents of the timeline can be changed according to the specified + time in past or future. +

+ +
 
+

+ +
+ + + + + + -- cgit v1.2.3