You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The outerHTML of the defined container is used to insert the ´data-action="start|stop"` and insert the static content to the innerHTML.
// strings are defined like thisautoplayHtmlStrings=['<span class=\'tns-visually-hidden\'>',' animation</span>']// and then build on updateAutoplayButton()autoplayButton.innerHTML=autoplayHtmlStrings[0]+action+autoplayHtmlStrings[1]+txt;
What about making the autoplayHtmlStrings configurable via options? That would make it very easy to implement customized buttons with icons
The text was updated successfully, but these errors were encountered:
I'm struggeling with every part while making this more accessible.
The navString thats used to aria-label the navigation-dots, aren't customizable.
I think all of this hard-coded strings should be easily customizable without attaching to the events and change it everytime a slide changes?
Issue description: autoplayHtmlStrings should be configurable
Tiny-slider version: 2.9.4
Browser name && version: All, Any
OS name && version: All, Any
It is possible to define a node/selector where the autoplay button will be inserted but yet it seems impossible to use custom markup.
The outerHTML of the defined container is used to insert the ´data-action="start|stop"` and insert the static content to the innerHTML.
What about making the
autoplayHtmlStrings
configurable via options? That would make it very easy to implement customized buttons with iconsThe text was updated successfully, but these errors were encountered: