function componentMount() {
      _get(Component.prototype.__proto__ || Object.getPrototypeOf(Component.prototype), 'componentMount', this).call(this);

      // make sure the checkbox has an id
      var id = this.id || (0, _uniqid2.default)();
      this.id = id;

      // append the s-switch label after
      var label = document.createElement('label');
      label.setAttribute('class', this.getAttribute('class'));
      label.classList.add(this.componentNameDash);
      label.setAttribute('for', id);
      (0, _insertAfter2.default)(label, this);
    }
/**
     * Mount component
     * @definition    SWebComponent.componentMount
     * @protected
     */
Mount component
@definition    SWebComponent.componentMount
@protected
Mount component @definition SWebComponent . componentMount @protected
function componentMount() {
      _get(Component.prototype.__proto__ || Object.getPrototypeOf(Component.prototype), 'componentMount', this).call(this);
      var id = this.id || (0, _uniqid2.default)();
      this.id = id;
      var label = document.createElement('label');
      label.setAttribute('class', this.getAttribute('class'));
      label.classList.add(this.componentNameDash);
      label.setAttribute('for', id);
      (0, _insertAfter2.default)(label, this);
    }
function componentMount ( ) { _get ( Component . prototype . __proto__ || Object . getPrototypeOf ( Component . prototype ) , 'componentMount' , this ) . call ( this ) ; var id = this . id || ( 0 , _uniqid2 . default ) ( ) ; this . id = id ; var label = document . createElement ( 'label' ) ; label . setAttribute ( 'class' , this . getAttribute ( 'class' ) ) ; label . classList . add ( this . componentNameDash ) ; label . setAttribute ( 'for' , id ) ; ( 0 , _insertAfter2 . default ) ( label , this ) ; }
Mount component
 @definition    SWebComponent.componentMount
 @protected
Mount component @definition SWebComponent . componentMount @protected
// make sure the checkbox has an id // append the s-switch label after