#3288 closed defect (fixed)
Dijit: standardize attribute names
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | Dijit | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Use "title" for Dialog, Titlepane, and children of PageContainer/TabContainer/AccordionContainer?, since title is part of the HTML DTD.
For Button, MenuItem?, etc., use "text" and "icon" to represent each of those things, rather than "label" (which has another meaning in HTML), or "caption", which just doesn't sound right.
Change History (10)
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
comment:4 Changed 14 years ago by
comment:5 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 14 years ago by
comment:7 Changed 14 years ago by
comment:8 Changed 14 years ago by
comment:9 Changed 14 years ago by
(In [9544]) Change "selectedColor" to "value" and onColorSelected() to onChange(). I think we still need to ColorPalette? to show a currently selected color in the same way that _Calendar shows the currently selected date. Refs #3288.
comment:10 Changed 14 years ago by
(In [9721]) For toggle widgets (ToggleButton?, Checkbox, Radio), use "checked" rather than "selected", since "checked" is an HTML standard. and also to allow menu items (and tree nodes, maybe) to be checked and selected (ie, highlighted) independently.
(In [8941]) Use "title" as attribute name for widgets that have a title and content. Also some other cleanup, including removing classNames as parameters of Accordion. Also changed parser to workaround problem with numeric value being undefined. Refs #3288