-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathglobal.d.ts
More file actions
25 lines (25 loc) · 746 Bytes
/
global.d.ts
File metadata and controls
25 lines (25 loc) · 746 Bytes
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
interface Window {
sapien?: {
createHumanBody: (config: {
title: string;
selector: HTMLElement;
width: number;
height: number;
data: Array<{ key: string; fileCount: number; caseCount: number }>;
labelSize: string;
primarySiteKey: string;
fileCountKey: string;
caseCountKey: string;
tickInterval: number;
offsetLeft: number;
offsetTop: number;
clickHandler: (e: { key: string }) => void;
mouseOverHandler: () => void;
mouseOutHandler: () => void;
keyDownHandler: () => void;
keyUpHandler: () => void;
skipLinkId: string;
ariaLabel: (d: { key?: string; caseCount?: number; fileCount?: number }) => string;
}) => void;
};
}