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

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

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _resolveNonStringToPixel (_value) {return typeof _value == "string" ? _value : +_value + "px"}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = '" class="'
        ;
        return (
          '<div id="' + _idPrefix + _fragment0 + i['mCssBindings_rootNodeClasses'] + '" style="' + 'width:' + _resolveNonStringToPixel (i['displayedStyleWidth']) + ';' + 'height:' + _resolveNonStringToPixel (i['displayedStyleHeight']) + ';' + '">\r\n  <div id="' + _idPrefix + '-track' + _fragment0 + _cssClass ('track') + '">\r\n    <div class="' + _cssClass ('trackLighting') + '"></div>\r\n    <div class="' + _cssClass ('borderOverlay') + '"></div>\r\n  </div>\r\n</div>\r\n\r\n'
        );

      }
    });
  }
});