docs: function () {
              var val = this._value;
              if (val >= this._switchThreshold) {
                  this._onContainer.style.width = this._cfg.width + "px";
                  this._onContainer.style.left = "0px";
                  this._offContainer.style.width = "0px";
                  this._value = 1;
              } else {
                  this._offContainer.style.width = this._cfg.width + "px";
                  this._offContainer.style.left = "0px";
                  this._onContainer.style.width = "0px";
                  this._value = 0;
              }
              if (val !== this._value) {
                  this._storeValue();
              }
          }