Changes between Initial Version and Version 2 of Ticket #3818
- Timestamp:
- Jul 20, 2007, 6:07:37 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3818
-
Property
Status
changed from
new
toassigned
-
Property
Status
changed from
-
Ticket #3818 – Description
initial v2 1 _FormWidget::_setStateClass() should set multiple classes on the Widget.domNode, based on the widget'sstates:1 Form widgets (at least button-type widgets) typically have the following states: 2 2 1. inert/hover/active/disabled 3 3 2. checked (or not) 4 4 3. selected (or not) 5 5 6 We set class attributes on Widget.domNode to reflect these states. Note that for tundra, a certain state may only affect a sub-node of Widget.domNode. For example, a ToggleButton in "checked" state doesn't change the button itself, but only the icon inside the button. Nonetheless, we set the class on Widget.domNode so other themes have the ability to change the look of the outer node. 7 8 _FormWidget::_setStateClass() should set multiple classes on the Widget.domNode, based on the widget's states: 9 6 10 For a menu item that's checked and selected, it should set the class "dijitMenuItem dijitMenuItemChecked dijitMenuItemSelected dijitMenuItemCheckedSelected" 7 11