Changes between Initial Version and Version 2 of Ticket #3818


Ignore:
Timestamp:
Jul 20, 2007, 6:07:37 AM (15 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3818

    • Property Status changed from new to assigned
  • Ticket #3818 – Description

    initial v2  
    1 _FormWidget::_setStateClass() should set multiple classes on the Widget.domNode, based on the widget's states:
     1Form widgets (at least button-type widgets) typically have the following states:
    22 1. inert/hover/active/disabled
    33 2. checked (or not)
    44 3. selected (or not)
    55
     6We 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
    610For a menu item that's checked and selected, it should set the class "dijitMenuItem dijitMenuItemChecked dijitMenuItemSelected dijitMenuItemCheckedSelected"
    711