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" ?
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...
... you will get this:
But I would like to get something like this:
Is there any way to add this
data-whatever="some-value"?