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.
22 lines (21 loc) • 651 B
TypeScript
import { ContainerType } from '../index';
export declare function getElement(el: ContainerType): HTMLElement;
export declare function getContainerInfo(el: ContainerType): {
top: number;
right: number;
bottom: number;
left: number;
width: number;
height: number;
x: number;
y: number;
};
export declare function createOrGetEle(className: string, parent: HTMLElement, tagName?: string): HTMLElement;
export declare function hasScrollbar(element: Element): {
vertical: boolean;
horizontal: boolean;
};
export declare function getCssVar(ele?: Element): {
scrollBarWidth: number;
scrollBarHeight: number;
};