-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathindex.d.ts
More file actions
31 lines (28 loc) · 838 Bytes
/
index.d.ts
File metadata and controls
31 lines (28 loc) · 838 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
26
27
28
29
30
31
declare module 'scroll-hint' {
interface i18n {
scrollable: string
}
interface ScrollHintOption {
suggestClass?: string,
scrollableClass?: string,
scrollableRightClass?: string,
scrollableLeftClass?: string,
scrollHintClass?: string,
scrollHintShadowWrapClass?: string,
scrollHintIconClass?: string,
scrollHintIconAppendClass?: string,
scrollHintIconWrapClass?: string,
scrollHintText?: string,
scrollHintBorderWidth?: number,
remainingTime?: number,
enableOverflowScrolling?: boolean,
applyToParents?: boolean,
suggestiveShadow?: boolean,
offset?: number,
i18n?: i18n
}
export default class ScrollHint {
constructor(selector: string | HTMLElement | NodeListOf<HTMLElement> | HTMLElement[], option?:ScrollHintOption);
updateItems(): void;
}
}