Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#3349 closed task (fixed)

ToggleButton: implement

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

Description

Button that you can be in selected or deselected state, useful as base class for checkbox/radio/dropdown button, perhaps.

I've checked in code for ToggleButton? already, but needs to be cleaned up a bit; I suppose there should be onSelected() and onDeselected() methods the user can define, or something like that.

Change History (5)

comment:1 Changed 12 years ago by bill

Status: newassigned

comment:2 Changed 12 years ago by bill

(In [9003]) Fix comments/behavior for ToggleButton?. Still more changes needed. Refs #3349.

comment:3 Changed 12 years ago by bill

Just need to add the onChange() callback. See #3462.

comment:4 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [9223]) Finish up implementation of ToggleButton? (with onChange()) handler to be called when the state changes.

Make Checkbox better leverage ToggleButton?, and simplify the logic some. Seems to work for mouse and keyboard (on IE/FF).

Fixes #3349.

comment:5 Changed 8 years ago by bill

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