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

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

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _childHtml (_properties) {return m.childHtml (_properties)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix
        ;
        return (
          '<div id="' + _idPrefix + '" class="' + i['mCssBindings_rootNodeClasses'] + '">\n  <div class="' + _cssClass ('inputShell') + '"><input id="' + _idPrefix + '-input' + '" type="text" spellcheck="false"/></div>\n  <div class="' + _cssClass ('button') + '">' + _childHtml ({name:'selector'}) + '</div>\n</div>'
        );

      }
    });
  }
});