{
  "title": "canvas",
  "type": "object",
  "properties": {
    "canvas-id": {
      "type": "string",
      "description": "canvas 组件的唯一标识符"
    },
    "disableScroll": {
      "type": "boolean",
      "description": "当在 canvas 中移动时且有绑定手势事件时，禁止屏幕滚动以及下拉刷新",
      "defaultValue": false
    },
    "bindTouchStart": {
      "tsType": "() => void",
      "description": "手指触摸动作开始"
    },
    "bindTouchMove": {
      "tsType": "() => void",
      "description": "手指触摸后移动"
    },
    "bindTouchEnd": {
      "tsType": "() => void",
      "description": "手指触摸动作结束"
    },
    "bindTouchCancel": {
      "tsType": "() => void",
      "description": "手指触摸动作被打断，如来电提醒，弹窗"
    },
    "bindLongTap": {
      "tsType": "() => void",
      "description": "手指长按 500ms 之后触发，触发了长按事件后进行移动不会触发屏幕的滚动"
    },
    "bindError": {
      "tsType": "() => void",
      "description": "当发生错误时触发 error 事件，detail = {errMsg}"
    }
  },
  "additionalProperties": false
}