Skip to content

Commit a97f872

Browse files
committed
Add minDate to sandbox
1 parent 4a03792 commit a97f872

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sandbox/App.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
:groups="groups"
66
:items="items"
77
:markers="markers"
8+
:viewportMin="minDate"
89
:viewportMax="maxDate"
910
:initialViewportStart="1691089357146"
1011
:initialViewportEnd="1691101020000"
@@ -62,7 +63,8 @@
6263
},
6364
});
6465
65-
const maxDate = new Date().valueOf() + 1000 * 60 * 60 * 24 * 365 * 10;
66+
const minDate = -500000000000000;
67+
const maxDate = 100000000000000;
6668
6769
const groups = computed((): TimelineGroup[] => {
6870
return [

0 commit comments

Comments
 (0)