Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#3238 closed enhancement (fixed)

PageButton does not extends Button

Reported by: guest Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


PageControllers? use a PageButton? button by default, but it would make sense if they were interchangeable with Button widgets. A below the surface change without changing the inheritence would be to rename PageButton?.label to PageButton?.caption

Change History (3)

comment:1 Changed 15 years ago by bill

Component: GeneralDijit
Milestone: 0.9beta
Owner: changed from anonymous to bill
Status: newassigned

See #3288, will fix at same time.

comment:2 Changed 15 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [8958]) Implemented _ToggleButton base class (extended from Button), and made PageButton? and TabButton? (internal widgets used by PageController? and TabController?) extend _ToggleButton.

Leverages FormElement?._onMouse() to do all the CSS manipulations. _onMouse() was enhanced to understand the idea of toggle controls, that stay selected (dijitFooActive CSS class) until programatically released.

Fixes #3238.

comment:3 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.