dijit._Widget¶
Contents
dijit._Widget was the previous base class for widgets. It has been replaced by dijit._WidgetBase.
If you are converting a widget from extending dijit._Widget to extending dijit._WidgetBase, you may also want to extend the follow mixins:
- dijit._OnDijitClickMixin - for widgets that connect to “ondijitclick” instead of “onclick” (for accessibility)
- dijit._FocusMixin - for widgets that want the onFocus() / onBlur() callback
In addition, you may want to require these modules:
- dojo.uacss - for widgets that have browser specific CSS
- dijit.hccss - for widgets that have high-contrast mode specific CSS or layout