SOURCE CODE: Uize.Widgets.Calendar.Html (view docs)

Uize.module ({
  name:'Uize.Widgets.Calendar.Html',
  builder:function () {
    'use strict';

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _childHtml (_properties) {return m.childHtml (_properties)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = '" class="'
        ;
        return (
          '<div id="' + _idPrefix + _fragment0 + i['mCssBindings_rootNodeClasses'] + '">\r\n  <div id="' + _idPrefix + '-controls' + _fragment0 + _cssClass ('controls') + '">\r\n    <div class="' + _cssClass ('indicator') + '">\r\n      <span id="' + _idPrefix + '-month' + '">Month</span>\r\n      <span id="' + _idPrefix + '-year' + '">Year</span>\r\n    </div>\r\n    ' + _childHtml ({name:'previousMonth',text:'<',tipText:'jump to previous month',extraClasses:_cssClass ('previousMonth')}) + '\r\n    ' + _childHtml ({name:'nextMonth',text:'>',tipText:'jump to next month',extraClasses:_cssClass ('nextMonth')}) + '\r\n  </div>\r\n  <div id="' + _idPrefix + '-grid' + _fragment0 + _cssClass ('grid') + '"></div>\r\n</div>\r\n'
        );

      }
    });
  }
});