function createPointerEvent(type, pointerId, pointerType) {
  return new BrowserEvent(
      {type: type, pointerId: pointerId, pointerType: pointerType});
}
@param {string} type
@param {number} pointerId
@param {string} pointerType
@return {!BrowserEvent}
@suppress {checkTypes} suppression added to enable type checking