UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

38 lines (37 loc) 1.1 kB
import type { SetupContext } from "vue"; import type { UiSimplebarEmits, UiSimplebarProps } from "./component"; export declare const useComposable: (define: UiSimplebarProps, emits: SetupContext<typeof UiSimplebarEmits>["emit"]) => { refs: { visible: import("vue").Ref<boolean, boolean>; }; vars: { observer: ResizeObserver | undefined; }; nodes: { slideway: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>; container: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>; }; binds: { bar: { style: { borderWidth: string; }; }; container: { style?: undefined; } | { style: { "max-height": string; }; }; }; methods: { init: () => false | undefined; drag: (ev: MouseEvent) => void; move: (ev: MouseEvent) => void; site: (node: { bar: HTMLElement; content: HTMLElement; }) => number | undefined; }; };