SOURCE CODE: Uize.Widgets.Button.Toggle.OnOff.Html (view docs)

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

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = '" class="'
        ;
        return (
          '\r\n  ' + i['text'] + '\r\n  \r\n\r\n\r\n'
        );

      }
    });
  }
});