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:

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

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!