Dom7 Tutorial #7 - Dataset & HTML5 data-* attributes

Published: 06 August 2018
on channel: dcode
637
13

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:
  / 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!


On this page of the site you can watch the video online Dom7 Tutorial #7 - Dataset & HTML5 data-* attributes with a duration of hours minute second in good quality, which was uploaded by the user dcode 06 August 2018, share the link with friends and acquaintances, this video has already been watched 637 times on youtube and it was liked by 13 viewers. Enjoy your viewing!