Skip to content
项目

关于

📅 交互式 JavaScript 甘特图和资源预订组件

效率与自动化

这些数字如何统计

可以做什么

  • High performance - display large datasets
  • Interactive - drag and drop elements

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

svelte-gantt


Website · Quickstart · Documentation

npm npm downloads MIT

A lightweight and fast interactive gantt chart/resource booking component made with Svelte. Compatible with any JS library or framework. ZERO dependencies.

svelte-gantt

Features

  • High performance - display large datasets
  • Interactive - drag and drop elements
  • Tree view
  • Zoom in/out
  • Dependencies
  • Date ranges
  • ...

Getting started

npm install svelte-gantt

Import the component:

import { SvelteGantt } from 'svelte-gantt';

or use the IIFE build:

<script src="node_modules/svelte-gantt/index.iife.js"></script>

Initialize svelte-gantt:

var options = {
    /* ... */
};

var gantt = new SvelteGantt({
    // target a DOM element
    target: document.getElementById('example-gantt'),
    // svelte-gantt options
    props: options
});

Need help?

I am happy to help you. Post an issue or contact me.

探索相关项目

加载中…