-
-
Notifications
You must be signed in to change notification settings - Fork 655
Open
Description
Hello.
I would like to know if there is a way to add a data attribute on the cancel tour icon.
In the documentation, it indicates that these are the only possible options:
Using this options...
cancelIcon: {
enabled: true,
label: 'foo'
}... you will get this:
<button aria-label="foo" class="shepherd-cancel-icon" type="button">
<span aria-hidden="true">×</span>
</button>But I would like to get something like this:
<button aria-label="foo" class="shepherd-cancel-icon" type="button" data-whatever="some-value">
<span aria-hidden="true">×</span>
</button>Is there any way to add this data-whatever="some-value" ?
Metadata
Metadata
Assignees
Labels
No labels
