alwan
Version:
A simple, lightweight, customizable, touch friendly color picker, written in vanilla javascript with zero dependencies.
3 lines (2 loc) • 307 B
TypeScript
import type { IPopover, IController, alwanConfig } from "./types";
export declare const createPopover: (target: Element, floating: HTMLElement, containingBlock: HTMLDivElement, ref: Element, { margin, position, closeOnScroll, toggle, disabled }: alwanConfig, { _toggle, _isOpen }: IController) => IPopover;