# 6.3 滑动列表(Swipe List)

可侧滑的列表组件

# 基础用法

<template>
  <dof-swipe-list :data="listData" @dofSwipeListClick="onClick"></dof-swipe-list>
</template>
1
2
3

# Attributes

Prop Type Required Default Description
container-style Object N {} 容器样式
data Array Y [] 列表数据
height Number N 90 列表项高度
styles Object N {} 自定义样式

# Events

事件名 说明 回调参数
dofSwipeListClick 列表项点击事件 e