Skip to content

Commit ef10103

Browse files
committed
Document new option
1 parent 7bb710c commit ef10103

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs-src/tutorials/02-usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ For example: `{selector: '.some-element', event: 'click'}`. It doesn't have to
215215
You can also always manually advance the Tour by calling `myTour.next()`.
216216
- `highlightClass`: An extra class to apply to the `attachTo` element when it is highlighted (that is, when its step is active). You can then target that selector in your CSS.
217217
- `id`: The string to use as the `id` for the step. If an id is not passed one will be generated.
218+
- `modalOverlayOpeningElement`: An element selector string or a DOM element that the modal overlay opening should target. Defaults to using the same element as `attachTo` if unspecified.
218219
- `modalOverlayOpeningPadding`: An amount of padding to add around the modal overlay opening
219220
- `modalOverlayOpeningRadius`: An amount of border radius to add around the modal overlay opening
220221
- `popperOptions`: Extra options to pass to [Popper](https://popper.js.org/docs/v2/constructors/#options)

0 commit comments

Comments
 (0)