UNPKG

@eclipse-scout/core

Version:
25 lines 1.01 kB
/// <reference types="jquery" /> import { AbstractLayout, Dimension, PrefSizeOptions, SimpleTabArea } from '../index'; export declare class SimpleTabAreaLayout extends AbstractLayout { tabArea: SimpleTabArea; tabWidth: number; tabMinWidth: number; overflowTabItemWidth: number; protected _$overflowTab: JQuery; protected _overflowTabsIndizes: number[]; constructor(tabArea: SimpleTabArea); layout($container: JQuery): void; smallPrefSize(options?: PrefSizeOptions & { minTabWidth?: number; }): Dimension; preferredLayoutSize($container: JQuery, options?: PrefSizeOptions & { minTabWidth?: number; }): Dimension; /** * Reads the default sizes from CSS -> the tabs need to specify a width and a min-width. * The layout expects all tabs to have the same width. */ protected _initSizes(): void; protected _onOverflowTabItemMouseDown(event: JQuery.MouseDownEvent): void; } //# sourceMappingURL=SimpleTabAreaLayout.d.ts.map