bbl-gantt
Version:
一个框架无关的JS甘特图库,支持resize、拖拽新建、支持自定义样式、以及支持duration模式等功能。A framework-independent JS Gantt chart library, supporting resize, drag-and-drop to create new tasks, custom styling, and duration mode functionalities.
18 lines (17 loc) • 580 B
TypeScript
import { EventBindingThis } from '../event';
import { Render } from '../render';
import { default as Gantt } from '..';
export declare class PartRender<RenderOptions = any> extends EventBindingThis {
gantt: Gantt;
renderer: Render;
constructor(gantt: Gantt, renderer: Render);
render(options?: RenderOptions): void;
bindEvent(): void;
unbindEvent(): void;
/**
* Clear all rendered content without destroying the renderer.
* Subclasses should override this to clear their specific SVG groups.
*/
clear(): void;
destroy(): void;
}