a-multilayout-splitter
Version:
A React package designed to facilitate the division of your views into distinct sections, offering effortless resizing and support for intricate layouts.
18 lines (17 loc) • 1.23 kB
TypeScript
declare class ManageHandleBar {
/**
* Shows handle bar icon on open of a split section.
* @param sectionNumber - The section number being opened.
* @param splitMode - Split mode, either "horizontal" or "vertical".
* @param direction - The direction of the open operation, either "left" or "right".
* Don't provide the direction if this function is not used inside the SplitUtils class itself.
*/
static showHandleIconOnOpen(instance: Element | null, sectionNumber: number, wrapper: Record<string, HTMLDivElement | HTMLElement | null>, cachedMappedSplitPanePosition: Record<string, Record<string, string | null> | null>, splitMode: "horizontal" | "vertical"): void;
/**
* Hides handle bar icons when a split section is closed.
* @param sectionNumber - The section number being closed.
* @param splitMode - Split mode, either "horizontal" or "vertical".
*/
static removeHandleIconOnClose(instance: Element | null, sectionNumber: number, wrapper: Record<string, HTMLDivElement | HTMLElement | null>, cachedMappedSplitPanePosition: Record<string, Record<string, string | null> | null>, splitMode: "horizontal" | "vertical"): void;
}
export default ManageHandleBar;