componentMount () {
    super.componentMount()

    // make sure the checkbox has an id
    const id = this.id || __uniqid()
    this.id = id

    // append the s-switch label after
    const label = document.createElement('label')
    label.setAttribute('class', this.getAttribute('class'))
    label.classList.add(this.componentNameDash)
    label.setAttribute('for', id)
    __insertAfter(label, this)
  }
/**
   * Mount component
   * @definition    SWebComponent.componentMount
   * @protected
   */
Mount component
@definition    SWebComponent.componentMount
@protected
Mount component @definition SWebComponent . componentMount @protected
componentMount () {
    super.componentMount()
    const id = this.id || __uniqid()
    this.id = id
    const label = document.createElement('label')
    label.setAttribute('class', this.getAttribute('class'))
    label.classList.add(this.componentNameDash)
    label.setAttribute('for', id)
    __insertAfter(label, this)
  }
componentMount ( ) { super . componentMount ( ) const id = this . id || __uniqid ( ) this . id = id const label = document . createElement ( 'label' ) label . setAttribute ( 'class' , this . getAttribute ( 'class' ) ) label . classList . add ( this . componentNameDash ) label . setAttribute ( 'for' , id ) __insertAfter ( 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