UNPKG

@valdiszz53/vue-spring-bottom-sheet

Version:
67 lines (66 loc) 2.7 kB
import { BottomSheetProps } from './types'; declare function __VLS_template(): { attrs: Partial<{}>; slots: { header?(_: {}): any; default?(_: {}): any; footer?(_: {}): any; }; refs: { backdrop: import('vue').ShallowUnwrapRef<{}> | null; sheet: import('vue').ShallowUnwrapRef<{}> | null; sheetHeader: import('vue').ShallowUnwrapRef<{}> | null; sheetScroll: HTMLDivElement; sheetContentWrapper: import('vue').ShallowUnwrapRef<{}> | null; sheetContent: HTMLDivElement; sheetFooter: import('vue').ShallowUnwrapRef<{}> | null; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<BottomSheetProps, { open: () => Promise<void>; close: () => void; snapToPoint: (index: number) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { opened: () => any; closed: (type?: "programmly" | undefined) => any; ready: () => any; "dragging-up": () => any; "dragging-down": () => any; snapped: (snapPointIndex?: number | undefined) => any; instinctHeight: (instinctHeight: number) => any; "update:modelValue": () => any; }, string, import('vue').PublicProps, Readonly<BottomSheetProps> & Readonly<{ onOpened?: (() => any) | undefined; onClosed?: ((type?: "programmly" | undefined) => any) | undefined; onReady?: (() => any) | undefined; "onDragging-up"?: (() => any) | undefined; "onDragging-down"?: (() => any) | undefined; onSnapped?: ((snapPointIndex?: number | undefined) => any) | undefined; onInstinctHeight?: ((instinctHeight: number) => any) | undefined; "onUpdate:modelValue"?: (() => any) | undefined; }>, { duration: number; blocking: boolean; canSwipeClose: boolean; canBackdropClose: boolean; expandOnContentDrag: boolean; teleportTo: string | import('vue').RendererElement; teleportDefer: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { backdrop: import('vue').ShallowUnwrapRef<{}> | null; sheet: import('vue').ShallowUnwrapRef<{}> | null; sheetHeader: import('vue').ShallowUnwrapRef<{}> | null; sheetScroll: HTMLDivElement; sheetContentWrapper: import('vue').ShallowUnwrapRef<{}> | null; sheetContent: HTMLDivElement; sheetFooter: import('vue').ShallowUnwrapRef<{}> | null; }, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };