e-virt-table
Version:
A powerful data table based on canvas. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
10 lines (9 loc) • 750 B
TypeScript
export type BorderStyle = 'default' | 'outer' | 'inner' | 'none';
export type BorderConfigValue = boolean | BorderStyle;
export declare function normalizeBorderStyle(value: BorderConfigValue): BorderStyle;
export declare function shouldDrawFullCellBorder(value: BorderConfigValue): boolean;
export declare function shouldDrawInternalHorizontalBorder(value: BorderConfigValue): boolean;
export declare function shouldDrawOuterBorder(value: BorderConfigValue): boolean;
export declare function shouldDrawScrollerBorder(value: BorderConfigValue): boolean;
export declare function shouldDrawScrollerTrack(value: BorderConfigValue, hasScrollbar: boolean): boolean;
export declare function shouldDrawRightBoundaryBorder(value: BorderConfigValue): boolean;