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

Uize.module ({
  name:'Uize.Widgets.HslSliders.Html',
  required:[
    'Uize.Util.Html.Encode'
  ],
  builder:function () {
    'use strict';

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _childHtml (_properties) {return m.childHtml (_properties)}
        function _encodeAttributeValue (_value) {return Uize.Util.Html.Encode.encode (_value)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = _cssClass ('sliderLabel'),
          _fragment1 = '">\n    \n  
' + _encodeAttributeValue (i['loc_hueLabel']) + _fragment2 + _fragment3 + _fragment4 + _fragment5 + '">360
\n \n
' + _childHtml ({name:'hue',orientation:'horizontal'}) + _fragment6 + _fragment0 + _fragment1 + _idPrefix + '-saturationLabel' + '">' + _encodeAttributeValue (i['loc_saturationLabel']) + _fragment2 + _fragment3 + _fragment4 + _fragment5 + _fragment7 + _childHtml ({name:'saturation',orientation:'horizontal'}) + _fragment6 + _fragment0 + _fragment1 + _idPrefix + '-lightnessLabel' + '">' + _encodeAttributeValue (i['loc_lightnessLabel']) + _fragment2 + _fragment3 + _fragment4 + _fragment5 + _fragment7 + _childHtml ({name:'lightness',orientation:'horizontal'}) + '
\n' ); } }); } });