Open Freddy03h opened 10 years ago
I read this article : Stop toggling classes with JS, use behaviour driven DOM manipulation with data-states and Thinking in states is exactly what I try to do with Heart.css
What do you think about change this
<div class="layer-toggle open"> … </div>
to this ?
<div class="layer-toggle" data-state="open"> … </div>
I read this article : Stop toggling classes with JS, use behaviour driven DOM manipulation with data-states and Thinking in states is exactly what I try to do with Heart.css
What do you think about change this
to this ?