Opened 11 years ago
Closed 7 years ago
#11506 closed enhancement (patchwelcome)
add an html5 dataset setter/getter
Reported by: | ben hockey | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 2.0 |
Component: | HTML | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
add a function to set/get dataset like html5.
Change History (6)
comment:1 Changed 10 years ago by
Component: | General → HTML |
---|---|
Milestone: | tbd → future |
Owner: | changed from anonymous to Eugene Lazutkin |
Status: | new → assigned |
comment:2 Changed 10 years ago by
i've probably added some confusion here... i added this to the dojo-fd branch with phiggins (see r22693). it was added there just as a way to try it out. so, the proposed functionality is how that one works. i'd add more details right now but my battery is about to die here and so i'll check in again in a few days if you leave a comment that you need more explanation.
comment:3 Changed 10 years ago by
I see. I assumed it is a proposal, which affects the base directly. If it is for dojo-fd, I'll look it up there and satisfy my curiosity.
comment:4 Changed 10 years ago by
It started as me wanting to use native-node.dataset when doing the html5/parser work. Turns out NO ONE supports dataset just yet, and 9/10 times we'd just be using getAttribute. The dojo.dataset() api exists in dojo-fd, but isn't used in base at all. It just provides an html5-like wrapper around either native or getAttribute+case conversion ...
It would be just a module like any other. We have no real use for dataset() API's in base or core just yet.
comment:5 Changed 8 years ago by
Milestone: | future → 2.0 |
---|
comment:6 Changed 7 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | assigned → closed |
It is probably my ticket. Could you give more info on the proposed functionality?