File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +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
- * ` markerColor ` - the color of a marker that accepts all CSS colors.
87
+ * ` arrowColor ` - the color of a marker that accepts all CSS colors.
88
88
* ` keyCode ` - the code of a button, which triggers the next EnjoyHint step upon a click. Defined by the “key” event. (“key #block” : “hello”).
89
89
* ` event_selector ` - if you need to attach an event (that was set in "event" property) to other selector, you can use this one
90
90
* ` timeout ` - delay before the moment, when an element is highlighted
@@ -108,6 +108,7 @@ var enjoyhint_script_steps = [
108
108
```
109
109
* ` showSkip ` - shows or hides the Skip button (true|false)
110
110
* ` showNext ` - shows or hides the Next button (true|false)
111
+ * ` showPrev ` - shows or hides the Previous button (true|false)
111
112
112
113
113
114
Original file line number Diff line number Diff line change 190
190
if ( current_step !== 0 ) {
191
191
$body . enjoyhint ( "show_prev" ) ;
192
192
}
193
-
193
+
194
+ if ( step_data . showPrev == false ) {
195
+ $body . enjoyhint ( "hide_prev" ) ;
196
+ }
194
197
195
198
if ( step_data . showSkip == false ) {
196
199
$body . enjoyhint ( "hide_skip" ) ;
You can’t perform that action at this time.
0 commit comments