@wdns/vuetify-resize-drawer
Version:
The vuetify-resize-drawer component extends the functionality of the v-navigation-drawer so that it is resizable by the user.
74 lines (73 loc) • 3.27 kB
TypeScript
import { VNavigationDrawer } from 'vuetify/components';
import { Props } from './types';
type __VLS_Props = Props;
type __VLS_PublicProps = {
'modelValue'?: boolean;
} & __VLS_Props;
declare function __VLS_template(): any;
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (...args: any[]) => void;
"drawer:mouseenter": (...args: any[]) => void;
"drawer:mouseleave": (...args: any[]) => void;
"handle:click": (...args: any[]) => void;
"handle:dblclick": (...args: any[]) => void;
"handle:drag": (...args: any[]) => void;
"handle:mousedown": (...args: any[]) => void;
"handle:mouseup": (...args: any[]) => void;
"handle:touchend": (...args: any[]) => void;
"handle:touchmove": (...args: any[]) => void;
"handle:touchstart": (...args: any[]) => void;
"update:modelValue": (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
"onDrawer:mouseenter"?: ((...args: any[]) => any) | undefined;
"onDrawer:mouseleave"?: ((...args: any[]) => any) | undefined;
"onHandle:click"?: ((...args: any[]) => any) | undefined;
"onHandle:dblclick"?: ((...args: any[]) => any) | undefined;
"onHandle:drag"?: ((...args: any[]) => any) | undefined;
"onHandle:mousedown"?: ((...args: any[]) => any) | undefined;
"onHandle:mouseup"?: ((...args: any[]) => any) | undefined;
"onHandle:touchend"?: ((...args: any[]) => any) | undefined;
"onHandle:touchmove"?: ((...args: any[]) => any) | undefined;
"onHandle:touchstart"?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
location: "bottom" | "end" | "start" | "left" | "right" | "top";
absolute: VNavigationDrawer["absolute"];
theme: string;
tag: VNavigationDrawer["tag"];
name: string;
expandOnHover: VNavigationDrawer["expandOnHover"];
floating: VNavigationDrawer["floating"];
rail: VNavigationDrawer["rail"];
railWidth: VNavigationDrawer["railWidth"];
image: string;
temporary: VNavigationDrawer["temporary"];
touchless: boolean;
width: VNavigationDrawer["width"];
handlePosition: import('./types').HandlePositions;
handleIconSize: import('vuetify/lib/components').VIcon["size"];
handleIcon: string;
saveWidth: boolean;
saveHeight: boolean;
storageName: string;
storageType: import('./types').StorageType;
handleColor: string;
height: string | number;
maxWidth: VNavigationDrawer["width"];
minWidth: VNavigationDrawer["width"];
snapBack: boolean;
maxHeight: string | number;
minHeight: string | number;
handleBorderWidth: number | string;
resizable: boolean;
widthSnapBack: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};