Skip to content

Commit

Permalink
Merge pull request #9 from ztbrown/patch-1
Browse files Browse the repository at this point in the history
Change 'element' to 'selector' in intro.md
  • Loading branch information
zackbloom committed Apr 24, 2014
2 parents 640040a + a75ef67 commit ea3216f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ to disable. Each button in the array is an object of the format:
- `events`: A hash of events to bind onto the button, for example `{'mouseover': function(){}}`. Adding a click event to `events` when you
already have an `action` specified is not supported.
- `advanceOn`: An action on the page which should advance shepherd to the next step. It can be of the form `"selector event"`, or an object with those
properies. For example: `".some-element click"`, or `{element: '.some-element', event: 'click'}`. It doesn't have to be an event inside
properies. For example: `".some-element click"`, or `{selector: '.some-element', event: 'click'}`. It doesn't have to be an event inside
the tour, it can be any event fired on any element on the page. You can also always manually advance the Tour by calling `myTour.next()`.
- `showCancelLink`: Should a cancel "✕" be shown in the header of the step?
- `scrollTo`: Should the element be scrolled to when this step is shown?
Expand Down

0 comments on commit ea3216f

Please sign in to comment.