index.js
function (value) {
    // find out the touch-action by the event handlers
    if (value == TOUCH_ACTION_COMPUTE) {
      value = this.compute();
    }

    if (NATIVE_TOUCH_ACTION) {
      this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;
    }
    this.actions = value.toLowerCase().trim();
  }
function (value) {
    // find out the touch-action by the event handlers
    if (value == TOUCH_ACTION_COMPUTE) {
      value = this.compute();
    }

    if (NATIVE_TOUCH_ACTION) {
      this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;
    }
    this.actions = value.toLowerCase().trim();
  }
function ( value ) { // find out the touch-action by the event handlers if ( value == TOUCH_ACTION_COMPUTE ) { value = this . compute ( ) ; } if ( NATIVE_TOUCH_ACTION ) { this . manager . element . style [ PREFIXED_TOUCH_ACTION ] = value ; } this . actions = value . toLowerCase ( ) . trim ( ) ; }
set the touchAction value on the element or enable the polyfill
@param {String} value
set the touchAction value on the element or enable the polyfill