SOURCE CODE: Uize.Widgets.Slider.Base.Html (view docs)

Uize.module ({
  name:'Uize.Widgets.Slider.Base.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 = '"></div>\r\n    <div class="',
          _fragment2 = '" style="'
        ;
        return (
          '<div id="' + _idPrefix + _fragment0 + i['mCssBindings_rootNodeClasses'] + _fragment2 + 'width:' + _resolveNonStringToPixel (i['displayedStyleWidth']) + ';' + 'height:' + _resolveNonStringToPixel (i['displayedStyleHeight']) + ';' + '">\r\n  <div id="' + _idPrefix + '-track' + _fragment0 + _cssClass ('track') + '">\r\n    <div class="' + _cssClass ('trackLighting') + _fragment1 + _cssClass ('borderOverlay') + _fragment1 + _cssClass ('knobTrack') + '">\r\n      <div id="' + _idPrefix + '-knob' + _fragment0 + _cssClass ('knob') + _fragment2 + 'left:' + _resolveNonStringToPixel (i['knobStyleLeft']) + ';' + 'bottom:' + _resolveNonStringToPixel (i['knobStyleBottom']) + ';' + '"></div>\r\n    </div>\r\n  </div>\r\n</div>\r\n\r\n'
        );

      }
    });
  }
});