You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ var enjoyhint_script_steps = [
84
84
85
85
#### Properties of the step configuration
86
86
*`"event selector" : "description"` - to describe a step you should set an event type, selecte element and add description for this element (hint)
87
+
*`arrowColor` - the color of a marker that accepts all CSS colors.
87
88
*`keyCode` - the code of a button, which triggers the next EnjoyHint step upon a click. Defined by the “key” event. (“key #block” : “hello”).
88
89
*`event_selector` - if you need to attach an event (that was set in "event" property) to other selector, you can use this one
89
90
*`timeout` - delay before the moment, when an element is highlighted
@@ -107,12 +108,13 @@ var enjoyhint_script_steps = [
107
108
```
108
109
*`showSkip` - shows or hides the Skip button (true|false)
109
110
*`showNext` - shows or hides the Next button (true|false)
111
+
*`showPrev` - shows or hides the Previous button (true|false)
110
112
111
113
112
114
113
115
114
116
#### Non-standard events:
115
-
**auto** - for example, you need to click on the same button on the second step imediatelly after the first step and go to the next step after it. Then you can use "auto" in the "event_type" property and "click" in "event" property.
117
+
*`auto` - for example, you need to click on the same button on the second step imediatelly after the first step and go to the next step after it. Then you can use "auto" in the "event_type" property and "click" in "event" property.
116
118
*`custom` - this value is very usefull if you need to go to the next step by event in your app code. For example, you want to go to the next step only after some data have been loaded in your application. Then you should use the "custom" event_type and the "trigger" method of the EnjoyHint instance.
117
119
```javascript
118
120
//Example of using custom event_type
@@ -169,6 +171,7 @@ var enjoyhint_script_steps = [
0 commit comments