UNPKG

@yqg/multiple-click

Version:

Monitor user's multiple click behavior and report

10 lines (9 loc) 595 B
import { MouseEventHandler } from './type'; export declare const bindHandler: (handler: MouseEventHandler) => void; export declare const unbindHandler: (handler: MouseEventHandler) => void; export declare const getOsType: () => "Windows" | "IOS" | "MacOS" | "Android" | "Linux"; export declare const getCountry: () => string; export declare const pick: <T, K extends keyof T>(obj: T, keys: K[]) => Pick<T, K>; export declare const isArray: (arr: any) => boolean; export declare const castArray: <T>(origin: T | T[]) => T[]; export declare const htmlTreeAsString: (el: Element | Node) => string;