Skip to content

Commit

Permalink
feat: add example step title and link to placement options
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgreenfield authored and Outpox committed Feb 4, 2020
1 parent c704b5e commit 4cd8ccc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ The `target` property of each step can target a DOM element in any component of
steps: [
{
target: '#v-step-0', // We're using document.querySelector() under the hood
header: {
title: 'Get Started',
},
content: `Discover <strong>Vue Tour</strong>!`
},
{
Expand All @@ -69,7 +72,7 @@ The `target` property of each step can target a DOM element in any component of
target: '[data-v-step="2"]',
content: 'Try it, you\'ll love it!<br>You can put HTML in the steps and completely customize the DOM to suit your needs.',
params: {
placement: 'top'
placement: 'top' // Any valid Popper.js placement. See https://popper.js.org/popper-documentation.html#Popper.placements
}
}
]
Expand Down

0 comments on commit 4cd8ccc

Please sign in to comment.