forked from luttingere/presenterjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stepsExample.js
92 lines (92 loc) · 2.53 KB
/
stepsExample.js
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/**
* Created by Eduardo Luttinger on 06/09/2017.
*/
var steps = {
prepare: {
productName: "PresenterJS",
message: "A cool tool to explain ur apps step by step",
class: ""
},
step1: {
id: "step1",
classesActions: [
{className: "tetete1", classesToAdd: "tetete", classesToRemove: ""},
],
title: "1",
text: "Location: RIGHT_BOTTOM, align_horizontal: LEFT align_vertical: TOP",
position: "RIGHT_BOTTOM",
align_horizontal: "LEFT",
align_vertical: "TOP",
button: "GOT IT!",
indicatorPosition: "bottom-right",
drawOnTargetAtStart: "elevate",
drawOnTargetAtEnd: "elevate",
drawOnSelf: "",
template: "",
delay: 300,
nextStep: "step2",
kill: "",
callback: function () {
}
},
step2: {
id: "step1",
title: "2",
text: "Location: RIGHT_BOTTOM, align_horizontal: RIGHT align_vertical: TOP",
position: "RIGHT_BOTTOM",
align_horizontal: "RIGHT",
align_vertical: "TOP",
button: "GOT IT!",
indicatorPosition: "bottom-left",
drawOnTargetAtStart: "elevate",
drawOnTargetAtEnd: "",
drawOnSelf: "",
template: "",
nextStep: "step3",
kill: "",
callback: function () {
}
},
step3: {
id: "step1",
title: "3",
text: "Location: RIGHT_BOTTOM, align_horizontal: RIGHT align_vertical: BOTTOM",
position: "RIGHT_BOTTOM",
button: "GOT IT!",
align_horizontal: "RIGHT",
align_vertical: "BOTTOM",
indicatorPosition: "top-left",
drawOnTargetAtStart: "elevate",
drawOnTargetAtEnd: "elevate",
drawOnSelf: "",
template: "",
nextStep: "step4",
kill: "",
callback: function () {
}
},
step4: {
id: "step1",
title: "4",
text: "Location: RIGHT_BOTTOM, align_horizontal: LEFT align_vertical: BOTTOM",
position: "RIGHT_BOTTOM",
align_horizontal: "LEFT",
align_vertical: "BOTTOM",
button: "GOT IT!",
auxButton: "",
indicatorPosition: "top-right",
drawOnTargetAtStart: "elevate",
drawOnTargetAtEnd: "",
drawOnSelf: "",
template: "",
nextStep: "end",
kill: "",
callback: function () {
}
},
end: {
callback: function () {
console.log("Finalizo el presentador");
}
}
};