data-* attributes

37 views
Skip to first unread message

Mathieu Leclaire

unread,
Nov 5, 2014, 12:29:16 PM11/5/14
to scal...@googlegroups.com
Hi,
I would like to know if it is possible to deals with data-* attributes ?
https://developer.mozilla.org/en/docs/Web/HTML/Global_attributes#data-*

Thanks

Mathieu Leclaire

unread,
Nov 7, 2014, 8:53:21 AM11/7/14
to scal...@googlegroups.com
Well, I think this attributes is missing. I pulled a request on the github repository.
It adds an dataWith(suffix: String) method, wich generates any data-xxx.
I tested it, and it works fine.

Haoyi Li

unread,
Nov 7, 2014, 11:53:50 AM11/7/14
to Mathieu Leclaire, scal...@googlegroups.com
Sorry, yeah making a PR is right. I'll take a look!

--
You received this message because you are subscribed to the Google Groups "Scalatags" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalatags+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages