3 ms·
things I am most excited about - data attribute support- now I can ditch my third party plugin. but i am curious- does this mean all current .data usage will n
by catshirt 16y ago
things I am most excited about
- data attribute support- now I can ditch my third party plugin. but i am curious- does this mean all current .data usage will now be tied to attributes? there were scenarios I was explicitly using data instead of dataset (for attributes)
- just started getting on board event based response systems (global listeners, overriding events, etc) as a way to help extensibility and minimize dependencies ... and I think the namespaces will help me organize a bit better. i suppose I will see at the time.
- jeresig 16y agoData is not tied to attributed explicitly. It only pulls I the values on first call and then never again. Event namespaces have actually been in jQuery for quite a few years now - we're just exposing that extra property now on the event object.
- catshirt 16y agowow, thanks john. and may i say, good choice on that implementation of data. :p thank you kindly for such a wonderful tool (referring to the framework itself, of course).