splitpanes-ts
Version:
TypeScript version of A Vue.js reliable, simple and touch-ready panes splitter / resizer
57 lines (56 loc) • 2.76 kB
TypeScript
import { PaneData, SplitpanesProps } from '../../../../../../../src/types';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
containerEl: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<SplitpanesProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
ready: (args_0: import('../../../../../../../src/types').EventWithPanes) => any;
resize: (args_0: import('../../../../../../../src/types').EventWithPanes) => any;
resized: (args_0: import('../../../../../../../src/types').EventWithPanes) => any;
"pane-click": (args_0: import('../../../../../../../src/types').EventWithPane) => any;
"pane-maximize": (args_0: import('../../../../../../../src/types').EventWithPane) => any;
"pane-add": (args_0: {
pane: PaneData;
}) => any;
"pane-remove": (args_0: {
pane: PaneData;
}) => any;
"splitter-click": (args_0: import('../../../../../../../src/types').EventWithIndex) => any;
"splitter-dblclick": (args_0: import('../../../../../../../src/types').EventWithIndex) => any;
}, string, import('vue').PublicProps, Readonly<SplitpanesProps> & Readonly<{
onReady?: ((args_0: import('../../../../../../../src/types').EventWithPanes) => any) | undefined;
onResize?: ((args_0: import('../../../../../../../src/types').EventWithPanes) => any) | undefined;
onResized?: ((args_0: import('../../../../../../../src/types').EventWithPanes) => any) | undefined;
"onPane-click"?: ((args_0: import('../../../../../../../src/types').EventWithPane) => any) | undefined;
"onPane-maximize"?: ((args_0: import('../../../../../../../src/types').EventWithPane) => any) | undefined;
"onPane-add"?: ((args_0: {
pane: PaneData;
}) => any) | undefined;
"onPane-remove"?: ((args_0: {
pane: PaneData;
}) => any) | undefined;
"onSplitter-click"?: ((args_0: import('../../../../../../../src/types').EventWithIndex) => any) | undefined;
"onSplitter-dblclick"?: ((args_0: import('../../../../../../../src/types').EventWithIndex) => any) | undefined;
}>, {
horizontal: boolean;
pushOtherPanes: boolean;
maximizePanes: boolean;
rtl: boolean;
firstSplitter: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
containerEl: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};