SOURCE CODE: Uize.Widgets.SegmentDisplay.Separator.Html (view docs)

Uize.module ({
  name:'Uize.Widgets.SegmentDisplay.Separator.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 = _cssClass ('colon')
        ;
        return (
          '<div id="' + _idPrefix + _fragment0 + i['mCssBindings_rootNodeClasses'] + _fragment1 + 'width:' + _resolveNonStringToPixel (i['width']) + ';' + 'height:' + _resolveNonStringToPixel (i['height']) + ';' + '">\r\n  <div id="' + _idPrefix + '-colonTop' + _fragment0 + _fragment2 + _fragment1 + 'background:' + _resolveNonStringToPixel (i['segmentBgStyle']) + ';' + 'height:' + _resolveNonStringToPixel (i['colonHeight']) + ';' + 'top:' + _resolveNonStringToPixel (i['colonPos']) + ';' + '"></div>\r\n  <div id="' + _idPrefix + '-colonBottom' + _fragment0 + _fragment2 + _fragment1 + 'background:' + _resolveNonStringToPixel (i['segmentBgStyle']) + ';' + 'height:' + _resolveNonStringToPixel (i['colonHeight']) + ';' + 'bottom:' + _resolveNonStringToPixel (i['colonPos']) + ';' + '"></div>\r\n</div>\r\n'
        );

      }
    });
  }
});