{
  "title": "swiper",
  "type": "object",
  "properties": {
    "indicator-dots": {
      "type": "boolean",
      "description": "是否显示面板指示点。",
      "defaultValue": false
    },
    "indicator-color": {
      "type": "string",
      "description": "指示点颜色。",
      "defaultValue": "rgba(0, 0, 0, .3)"
    },
    "indicator-active-color": {
      "type": "string",
      "description": "当前选中的指示点颜色。",
      "defaultValue": "rgba(0, 0, 0, 0)"
    },
    "autoplay": {
      "type": "boolean",
      "description": "是否自动切换。",
      "defaultValue": false
    },
    "current": {
      "type": "number",
      "description": "当前选中滑块的索引。",
      "defaultValue": 0
    },
    "current-item-id": {
      "type": "string",
      "description": "当前选中滑块的组件 id，不能与 current 属性同时指定。"
    },
    "interval": {
      "type": "number",
      "description": "自动切换时间间隔（ms）。",
      "defaultValue": 5000
    },
    "previous-margin": {
      "type": "string",
      "description": "前边距，可以用露出前一项的一小部分，支持 px 和 rpx，默认单位是 px。"
    },
    "next-margin": {
      "type": "string",
      "description": "后边距，可用于露出后一项的一小部分，支持 px 和 rpx，默认单位是 px。"
    },
    "display-multiple-items": {
      "type": "number",
      "description": "同时显示的滑块数量。",
      "defaultValue": 1
    },
    "duration": {
      "type": "number",
      "description": "滑动动画时长（ms）。",
      "defaultValue": 500
    },
    "circular": {
      "type": "boolean",
      "description": "是否循环播放（首尾衔接）。",
      "defaultValue": false
    },
    "vertical": {
      "type": "boolean",
      "description": "滑块放置方向是否为竖直。",
      "defaultValue": false
    },
    "easing-function": {
      "type": "string",
      "description": "指定 swiper 切换缓动动画类型，详情见 easing-function 的合法值。",
      "defaultValue": "\"default\"",
      "enum": [
        "default",
        "linear",
        "easeInCubic",
        "easeOutCubic",
        "easeInOutCubic"
      ]
    },
    "bindChange": {
      "tsType": "() => void",
      "description": "current 改变时触发。"
    },
    "bindAnimationFinish": {
      "tsType": "() => void",
      "description": "动画结束时会触发 animationfinish 事件。"
    },
    "bindTransition": {
      "tsType": "() => void",
      "description": "swiper-item 产生位移时触发 transition 事件。"
    }
  },
  "additionalProperties": false
}