Side navigation
#8149 closed bug (wontfix)
Opened February 02, 2011 08:29PM UTC
Closed April 22, 2011 01:53AM UTC
changeData event should fired on properties that are changed when calling .data(object)
Reported by: | thetimbanks | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | data | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When calling .data(key, value) a changeData event is fired on the "key" property. However, when calling .data(object), changeData does not get fired for any property inside of object.
This can be very useful when using datalink. View the associated jsFiddle below to get an idea of how this can be beneficial.
Attachments (0)
Change History (2)
Changed February 03, 2011 10:42AM UTC by comment:1
component: | unfiled → data |
---|---|
keywords: | → needsreview |
priority: | undecided → low |
version: | 1.4.4 → git |
Changed April 22, 2011 01:53AM UTC by comment:2
keywords: | needsreview |
---|---|
resolution: | → wontfix |
status: | new → closed |
This would be very expensive. You can either duck-punch .data()
to add it, or create your own function that calls .data()
internally.