Dom7 Tutorial #7: Using dataset & data-* attributes

Learn how to access HTML element data-* attributes with Dom7's dataset() method in this tutorial. πŸ“„

Dom7 Tutorial #7: Using dataset & data-* attributes
dcode
729 views β€’ Aug 6, 2018
Dom7 Tutorial #7: Using dataset & data-* attributes

About this video

By using the dataset() method that's provided by the Dom7 Library (part of Framework7), you are able to access the "dataset" on HTML elements.

The "dataset" refers to the set of key-value pairs that are specified by using HTML5 data-attributes. The dataset() method in Dom7 will get all the key-value pairs as a plain JavaScript object.

Support me on Patreon:
https://www.patreon.com/dcode - with enough funding I plan to develop a website of some sort with a new developer experience!

For your reference, check this out:
https://framework7.io/docs/dom7.html

Follow me on Twitter @dcode!

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

729

Likes

14

Duration

4:32

Published

Aug 6, 2018

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

Trending Now