Download node_modules/visibilityjs/index.d.ts from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 713 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/visibilityjs/index.d.ts
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/node_modules/visibilityjs/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/visibilityjs/index.d.ts
713 Bytes
| declare module 'visibilityjs' { | |
| export function every(interval: number, callback: Function): number; | |
| export function every(interval: number, hiddenInterval: number, callback: Function): number; | |
| export function onVisible(callback: Function): number|boolean; | |
| export function afterPrerendering(callback: Function): number|boolean; | |
| export function isSupported(): boolean; | |
| export function state(): string; | |
| export function hidden(): boolean; | |
| export function unbind(id: number): void; | |
| export function change(listener: VisiblityChangeListener): number|boolean; | |
| export function stop(id: number): boolean; | |
| type VisiblityChangeListener = (event: Event, state: string) => void; | |
| } | |