-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.d.ts
More file actions
50 lines (42 loc) · 1.11 KB
/
Copy pathtypes.d.ts
File metadata and controls
50 lines (42 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
declare module '@vogelweb/cursor-js' {
enum pointerVisibility {
hidden = 'hidden',
show = 'show'
}
interface CursorBaseOptions {
type?: number;
selector?: string | null;
section?: HTMLElement | null;
color?: string;
image?: string;
font?: string;
text?: string;
imageText?: string;
buttonText?: string;
clickText?: string;
textColor?: string;
delay?: boolean;
pointer?: pointerVisibility;
}
class Cursor {
constructor(options: CursorBaseOptions);
type: number;
color: string[];
textColor: string[];
imageColor: string[];
buttonColor: string[];
image: string;
font: string;
zIndex: number;
text: string;
imageText: string;
buttonText: string;
clickText: string;
delay: boolean;
section: HTMLElement;
cursor: any; // Replace `any` with the specific type if known
load(): void;
// Add other methods if they are public
}
export default Cursor;
}