Skip to content

Commit 1403f2e

Browse files
feat: popup, build
1 parent 55be33c commit 1403f2e

File tree

6 files changed

+147
-120
lines changed

6 files changed

+147
-120
lines changed

dist/frappe-gantt.js

Lines changed: 67 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frappe-gantt.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frappe-gantt.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frappe-gantt.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h2 class="heading">Interactive Gantt Chart entirely made in SVG!</h2>
3535
let tasks = [
3636
{
3737
start: '2024-04-01',
38-
end: '2024-04-08',
38+
end: '2024-04-01',
3939
name: 'Redesign website',
4040
id: "Task 0",
4141
progress: 30
@@ -114,10 +114,15 @@ <h2 class="heading">Interactive Gantt Chart entirely made in SVG!</h2>
114114
// console.log("Hover", x, y);
115115
// },
116116
view_mode: "Day",
117-
view_mode_padding: { DAY: "7d" },
118-
language: "en",
119-
scroll_today: false,
120-
// readonly: true
117+
view_mode_padding: { DAY: "3d" },
118+
popup: false,
119+
// scroll_to: 'today',
120+
// view_mode_select: true,
121+
// today_button: false,
122+
// readonly: true,
123+
// lines: 'vertical',
124+
// lower_text: (date) => date.getDay(),
125+
// upper_text: (date, view_mode, def) => def,
121126
});
122127
console.log(gantt_chart);
123128
</script>

0 commit comments

Comments
 (0)