Add the ability to set configurations through HTML data attributes
See original GitHub issueAdd the ability to set configurations/settings through HTML data attributes.
Example:
<div id="slider-example" data-start="500" data-connect="true"></div>
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Using data attributes - Learn web development | MDN
To get a data attribute through the dataset object, get the property by the part of the attribute name after data- (note that...
Read more >HTML data-* Attribute - W3Schools
The data-* attribute gives us the ability to embed custom data attributes on all HTML elements. The stored (custom) data can then be...
Read more >Built-in and Custom Data Attributes - Beginner JavaScript
When you are working with HTML elements, those elements have something called attributes. Attributes are anything provided to an element as additional ...
Read more >Don't use data attributes to find HTML elements with JS - intuio
Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes...
Read more >How to Use HTML Data Attributes - DEV Community
Adding a data attribute is easy. Any HTML element can have any number of data attributes added to its opening tag. We simply...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve decided not to add this feature. It adds simply too much bloat to the code-base, and an external wrapper with these features would be relatively simple.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.