Skip to content

Commit

Permalink
Fixed typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
crash83k authored Aug 7, 2017
1 parent 0e1f058 commit 5050255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ In the HTML, each DOM you want to add to the pre-defined page tour must have at
- example: `<div data-tour-title="DIV DOM Object"></div>`
- `data-<prefix>-description`: This attribute should be assigned the description of what the tour item is.
- example: `<div data-tour-description="This is a DIV HTML object. It's used to be a container for other DOMs"></div>`

next
**Note:** In our examples, the prefix is the default "tour" prefix.

Both of these attributes can (and really should) be used together. However, only one is necessary.
Expand Down Expand Up @@ -171,6 +171,6 @@ PageTour.switchTo('#some_DOM', {
title: 'Some DOM Object',
description: 'This is a DOM object on the page.',
next: PageTour.switchTo('#another_DOM', {...}),
next: PageTour.switchTo('#a_previous_DOM', {...})
prev: PageTour.switchTo('#a_previous_DOM', {...})
});
```

0 comments on commit 5050255

Please sign in to comment.