UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

22 lines (21 loc) 466 B
export type UserVisibilyCallback = ({ isVisible }: { isVisible: boolean; }) => void; export interface UserVisibilyStrictOptions { /** * Watch immediately * @default true */ immediate: boolean; /** * Timeout visibility in ms * @default 5000 // 5 sec */ timeout: number; /** * Watch once * @default false */ once: boolean; } export type UserVisibilyOptions = Partial<UserVisibilyStrictOptions>;