Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / src / playground / Button / ButtonContainer.ddd
Size: Mime:
// this touch stuff isn't used or needed 

handleTouchStart = event => {
  // console.log('HANDLE_TOUCH_START')
  this.isTouching = true
  this.state.activate()
  // handleClick
  // this.state.handleActive
}
handleTouchMove = event => {
  // clearTimeout(this.touchTimeout)
  // this.touchTimeout = setTimeout(() => {
  //   this.isTouching = false
  // }, 500)
}
/**
  * @type {React.TouchEventHandler}
  * @param {React.TouchEvent} event
  */
handleTouchEnd = event => {
  // console.log('HANDLE_TOUCH_END')
  if (this.isTouching === true) {
    this.isTouching = false
    this.handleClick(event)
  } else {
    this.state.deactivate()
  }
  // this.state.handleTouchEnd
}