UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

24 lines (23 loc) 754 B
import { ColumnedSectionItemSettings, Section, SectionItem } from "../../../../models"; export declare class ColumnResizer { private section; constructor(section: Section); /** * Resize the column * @param item * @param resizeValue */ resizeColumn(item: SectionItem<ColumnedSectionItemSettings>, resizeValue: number): boolean; /** * Checks if the column can be resized * @param column * @param resizeValue controls how much the column grows or shrinks */ canColumnBeResized(column: SectionItem<ColumnedSectionItemSettings>, resizeValue: number): boolean; /** * Checks if it is the last index of the column * @param index * @param length */ private isLastItem; }