Dataset (dataset) Property - Javascript DOM
The 'Dataset' (HTMLElement.dataset property) allows you to easily set or get the values of custom '-data' prefixed HTML attributes on your elements. It works...

dcode
47.1K views • Jan 20, 2018

About this video
The 'Dataset' (HTMLElement.dataset property) allows you to easily set or get the values of custom '-data' prefixed HTML attributes on your elements. It works like a regular object and it gives you the power to do pretty interesting stuff with the components on the page.
In this video we look at a simple example of how it works and how you can implement it in your next project.
For your reference:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
In this video we look at a simple example of how it works and how you can implement it in your next project.
For your reference:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
47.1K
Likes
1.1K
Duration
5:29
Published
Jan 20, 2018
User Reviews
4.7
(9) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.