This repository has been archived by the owner on Jan 17, 2022. It is now read-only.
/
ng-intro.component.d.ts
60 lines (60 loc) · 2.2 KB
/
ng-intro.component.d.ts
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
51
52
53
54
55
56
57
58
59
60
/// <reference types="intro.js" />
declare namespace ngIntroJs {
interface INgIntroService {
intro: IntroJs.IntroJs;
addListener(name: string, callback: Function): void;
removeListener(name: string): void;
setOptions: IntroJs.Options;
start(stepId?: number): IntroJs.IntroJs;
exit(): IntroJs.IntroJs;
clear(callback: Function): IntroJs.IntroJs;
goToStepNumber(stepId: number): IntroJs.IntroJs;
addHints(): IntroJs.IntroJs;
showHint(hintIdx: number): IntroJs.IntroJs;
showHints(): IntroJs.IntroJs;
hideHint(hintIdx: number): IntroJs.IntroJs;
hideHints(): IntroJs.IntroJs;
removeHint(stepid: number): IntroJs.IntroJs;
removeHints(): IntroJs.IntroJs;
previous(): IntroJs.IntroJs;
next(): IntroJs.IntroJs;
refresh(): IntroJs.IntroJs;
onComplete(callback: Function): void;
onExit(callback: Function): void;
onBeforeChange(callback: Function): void;
onAfterChange(callback: Function): void;
onChange(callback: Function): void;
onHintClick(callback: Function): void;
onHintClose(callback: Function): void;
onHintsAdded(callback: Function): void;
}
interface INgIntroDirectiveScope extends ng.IScope {
ngIntroMethod(step?: number): void;
ngIntroExitMethod(cb?: Function): void;
ngIntroNextMethod(): void;
ngIntroPreviousMethod(): void;
ngIntroRefreshMethod(): void;
ngIntroOptions(): void;
ngIntroOncomplete(): void;
ngIntroOnexit(): void;
ngIntroOnchange(): void;
ngIntroOnbeforechange(): void;
ngIntroOnafterchange(): void;
ngIntroAutostart(): void;
ngIntroAutorefresh(): void;
ngIntroHintsMethod(): void;
ngIntroOnhintsadded(): void;
ngIntroOnhintclick(): void;
ngIntroOnhintclose(): void;
ngIntroShowHint(id: number): void;
ngIntroShowHints(): void;
ngIntroHideHint(id: number): void;
ngIntroHideHints(): void;
}
interface NotifyItem {
[name: string]: Function;
}
}
declare const define: any;
declare const module: any;
declare const require: any;