Ticket #2529591 (accepted defect)

Reporter


bzbugs
Opened: 12/6/10
Last modified: 09/19/12
Status: accepted
Type: defect

Owner


Matt Sweeney
Target Release: BACKLOG
Priority: P3 (normal)
Summary: [bz 4026689] Add setData, clearData, and getData to NodeList
Description:

I have run into the need for setting the same data or clearing the data on all nodes in a NodeList. I would like
NodeLists have setData and clearData methods, the same way they have addClass and clearClass. (I can do it with an
"each", of course).

Also, it would be useful to have getData work for NodeLists too, returning an Array as a result, like hasClass and
getStyle.

Type: defect Observed in Version: 3.2.0
Component: Node Severity: S3 (normal)
Assigned To: Matt Sweeney Target Release: BACKLOG
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Matt Sweeney

YUI Developer

Posted: 12/8/10
  • milestone changed to 3.NEXT
  • status changed from new to accepted

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.NEXT to BACKLOG

Moving from 3.NEXT to BACKLOG.