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

Uize.module ({
  name:'Uize.Widgets.Bar.FullEmpty.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="',
          _fragment1 = '" style="',
          _fragment2 = '">\r\n      <div class="',
          _fragment3 = _cssClass ('trackLighting')
        ;
        return (
          '<div id="' + _idPrefix + _fragment0 + i['mCssBindings_rootNodeClasses'] + _fragment1 + 'width:' + _resolveNonStringToPixel (i['displayedStyleWidth']) + ';' + 'height:' + _resolveNonStringToPixel (i['displayedStyleHeight']) + ';' + '">\r\n  <div id="' + _idPrefix + '-track' + _fragment0 + _cssClass ('track') + '">\r\n    <div id="' + _idPrefix + '-full' + _fragment0 + _cssClass ('trackFull') + _fragment1 + 'background-color:' + _resolveNonStringToPixel (i['fullColor']) + ';' + 'top:' + _resolveNonStringToPixel (i['fullStyleTop']) + ';' + 'right:' + _resolveNonStringToPixel (i['fullStyleRight']) + ';' + _fragment2 + _fragment3 + '"></div>\r\n    </div>\r\n    <div id="' + _idPrefix + '-empty' + _fragment0 + _cssClass ('trackEmpty') + _fragment1 + 'background-color:' + _resolveNonStringToPixel (i['emptyColor']) + ';' + 'bottom:' + _resolveNonStringToPixel (i['emptyStyleBottom']) + ';' + 'left:' + _resolveNonStringToPixel (i['emptyStyleLeft']) + ';' + _fragment2 + _fragment3 + '"></div>\r\n    </div>\r\n    <div class="' + _cssClass ('borderOverlay') + '"></div>\r\n    <div id="' + _idPrefix + '-knob' + _fragment0 + _cssClass ('knob') + '"></div>\r\n  </div>\r\n</div>\r\n\r\n'
        );

      }
    });
  }
});