UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

30 lines (29 loc) 992 B
import type { UiTypes } from "@various/constants"; import { type RelativeContainerBodyOption } from "../dispose/boundary"; export declare const use: (selector: HTMLElement | string) => Element | null; export declare const append: (selector: HTMLElement | string, el: Node) => void; export declare const remove: (selector: HTMLElement | string, el: Node) => void; export declare const includes: (current: HTMLElement | null, container: HTMLElement) => boolean; export declare const menus: { open: (options: { container: HTMLElement; content: HTMLElement; option: RelativeContainerBodyOption; widthExtra?: number | "auto" | "content"; handler?: () => void; }) => ResizeObserver; }; export declare const scrollbarHidden: (option?: { unit?: UiTypes.styleUnit; }) => { scrollbar: { x: number; y: number; }; overflow: string; spacing: { x: string; y: string; }; unit: UiTypes.styleUnit; };