Foundation Lesson 145 - Control Your Behavior with Foundation’s Data Attributes

Опубликовано: 27 Июнь 2026
на канале: ZURB
869
9

Check out the lesson here: http://zurb.us/2gZeQHX
Foundation’s components give you a ton of great functionality right out of the box. They let you build interactive websites that would typically require a bunch of JavaScript. With Foundation, you can set up powerful components purely in HTML, without ever having to write your own JavaScript. Today we’re going to look at how Foundation uses data attributes to communicate JavaScript configuration options from your HTML, to get the behavior you want.