Classes are for designers. data-behavior is for JavaScript developers.

Resources

data-behavior