#5511 closed enhancement (fixed)
dojo.NodeList .style() api
Reported by: | dante | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Core | Version: | 1.0 |
Keywords: | nodelist query style css object | Cc: | dante |
Blocked By: | Blocking: |
Description
currently, NodeList?.style() accepts two string arguments. (without having looked, i don't _think_ it's acting as a setter/getter, so this argument remains valid):
based on a small extension here: http://dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-development-discussion/dojo-extend-fun-and-profit
it would probably be possible to, without breaking back-compat., allow style() to accept a "magic arg" of properties in the absence of a second arg (or if the first arg is simply typeof object)
I recall a ticket regarding this a while ago, but am unable to find the #
Change History (3)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 13 years ago by
Note: See
TracTickets for help on using
tickets.
(In [12364]) update dojo.style() to accept a style bag as the second param and ensure that the mapping in dojo.NodeList? is smart enough to handle it. Add and update tests. Fixes #5511. !strict