In this example, clicking the Toggle class / data button will toggle a 'modded' class on our div
element, and switch the data-config
attribute between two values. Open the developer console to examine changes between states.
In this example, clicking the Toggle class / data button will toggle a 'modded' class on our div
element, and switch the data-config
attribute between two values. Open the developer console to examine changes between states.
Lorem ipsum dolar sit amet consecutum.
Lorem ipsum dolar sit amet consecutum.
Lorem ipsum dolar sit amet consecutum.
Lorem ipsum dolar sit amet consecutum.
Lorem ipsum dolar sit amet consecutum.