Opened 12 years ago

Closed 8 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:


add a function to set/get dataset like html5.

Change History (6)

comment:1 Changed 11 years ago by Eugene Lazutkin

Component: GeneralHTML
Milestone: tbdfuture
Owner: changed from anonymous to Eugene Lazutkin
Status: newassigned

It is probably my ticket. Could you give more info on the proposed functionality?

comment:2 Changed 11 years ago by ben hockey

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 11 years ago by Eugene Lazutkin

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 11 years ago by dante

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 9 years ago by dylan

Milestone: future2.0

comment:6 Changed 8 years ago by ben hockey

Resolution: patchwelcome
Status: assignedclosed
Note: See TracTickets for help on using tickets.