Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#12799 closed task (fixed)

dijit/_OnDijitClickMixin

Reported by: bill Owned by: bill
Priority: high Milestone: 1.7
Component: Dijit Version: 1.6.0
Keywords: Cc: Kris Zyp
Blocked By: Blocking:

Description (last modified by bill)

Split out _Widget's ondijitclick functionality into a custom mixin.

Change History (9)

comment:1 Changed 9 years ago by bill

Resolution: fixed
Status: newclosed

(In [24527]) Extract _Widget's ondijitclick functionality into a new a11yclick custom event object. Code is basically the same as before, except that it's connecting to keypress rather than keydown, so that the evt.preventDefault() call doesn't interfere with _HasDropDown.

Modified _WidgetBase.connect() to return a single handle rather than an array of handles, with similar changes to typematic's add*() methods, and _WidgetBase._connects array.

Fixes #12799 !strict.

comment:2 Changed 9 years ago by bill

Description: modified (diff)
Resolution: fixed
Status: closedreopened
Summary: dijit/a11yclickdijit/_OnDijitClickMixin

On second thought this should be a mixin so that widgets can extend _WidgetBase and still get ondijitclick.

comment:3 Changed 9 years ago by bill

(In [24564]) Move ondijitclick functionality from _Widget to a custom mixin, so it can be used in conjunction w/_WidgetBase. Refs #12799 !strict.

comment:4 Changed 9 years ago by bill

Resolution: fixed
Status: reopenedclosed

comment:5 Changed 8 years ago by bill

In [26412]:

Fix ondijitclick on an INPUT/BUTTON, and add test case, refs #12799 !strict.

comment:6 Changed 7 years ago by bill

In [29195]:

move a11yclick custom event to it's own file, refs #12799 !strict.

comment:7 Changed 7 years ago by bill

In [29197]:

fix typo from [29195], refs #12799 !strict.

comment:8 Changed 7 years ago by bill

In [30257]:

_PaletteMixin should require _OnDijitClickMixin since it uses "ondijitclick". Refs #12799 !strict.

comment:9 Changed 7 years ago by bill

In [30671]:

remove no longer used dojo/_base/unload and dojo/_base/win dependencies, refs #12799 !strict

Note: See TracTickets for help on using tickets.