tuupola/jquery_chained

Data attribute instead of class

tomjn opened this issue · 4 comments

The values I need to chain can have spaces in them, and css classes can impact styling. Would it be possible to add support for data attributes as a mechanism?

Data attributes would be better. Chained was originally written in time when data attributes were still in infancy. Thus classes were used. I am doing a 2.0 rewrite of the plugin in the near future and ditch the class support in favour of data attributes.

hi, what about data-attributes?

Aeon commented

any update?

See a3bfdbc. Will be released in 2.0.0.