UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

35 lines (34 loc) 1.14 kB
import { SetupContext } from "vue"; import { UiModalEmits, UiModalProps } from "../index"; export declare const useComposable: (define: UiModalProps, emit: SetupContext<typeof UiModalEmits>["emit"]) => { refs: { open: import("vue").Ref<boolean, boolean>; main: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>; observer: import("vue").Ref<ResizeObserver | undefined, ResizeObserver | undefined>; container: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>; }; binds: { main: { style: { padding: string; zIndex: number; }; class: string | undefined; }; }; methods: { resizeHandler: () => void; closeModal: () => void; openModal: () => void; scrollTo: (options: ScrollToOptions) => void; }; computeds: { mainStyle: import("vue").ComputedRef<{ padding: string; zIndex: number; }>; containerStyle: import("vue").ComputedRef<{ [name: string]: any; }>; }; };