The CalendarLite widget is like the dijit.Calendar widget, but streamlined for size. In particular it’s missing the drop down to display the list of months, and the _CSSStateMixin needed for getting hover CSS effects on older versions of IE.


A plain Calendar widget with the formatted date below

<div data-dojo-type="dijit.CalendarLite" data-dojo-props="onChange:function(){dojo.byId('formatted').innerHTML=dojo.date.locale.format(arguments[0], {formatLength: 'full', selector:'date'})}"></div>
<p id="formatted"></p>

See Also

  • dijit.Calendar - Extends CalendarLite adding month drop down
  • dojox.widget.Calendar - An enhanced but still experimental calendar widget which has additional capabilities like year-only views and animation effects.
Error in the documentation? Can’t find what you are looking for? Let us know!