File tree 4 files changed +13
-11
lines changed
4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 6
6
| autoplay | Whether to scroll automatically | boolean | ` false ` |
7
7
| beforeChange | Callback function called before the current index changes | function(from, to) | - |
8
8
| dots | Whether to show the dots at the bottom of the gallery | boolean | ` true ` |
9
+ | dotsClass | Class name of the dots | string | ` slick-dots ` |
9
10
| easing | Transition interpolation function name | string | ` linear ` |
10
11
| effect | Transition effect | ` scrollx ` \| ` fade ` | ` scrollx ` |
11
12
| vertical | Whether to use a vertical display | boolean | ` false ` |
Original file line number Diff line number Diff line change 1
1
## API
2
2
3
- | 参数 | 说明 | 类型 | 默认值 |
4
- | ------------ | -------------------------------- | ------------------ | ------- |
5
- | afterChange | 切换面板的回调 | function(current) | 无 |
6
- | autoplay | 是否自动切换 | boolean | false |
7
- | beforeChange | 切换面板的回调 | function(from, to) | 无 |
8
- | dots | 是否显示面板指示点 | boolean | true |
9
- | easing | 动画效果 | string | linear |
10
- | effect | 动画效果函数,可取 scrollx, fade | string | scrollx |
11
- | vertical | 垂直显示 | boolean | false |
3
+ | 参数 | 说明 | 类型 | 默认值 |
4
+ | ------------ | -------------------------------- | ------------------ | ------------ |
5
+ | afterChange | 切换面板的回调 | function(current) | 无 |
6
+ | autoplay | 是否自动切换 | boolean | false |
7
+ | beforeChange | 切换面板的回调 | function(from, to) | 无 |
8
+ | dots | 是否显示面板指示点 | boolean | true |
9
+ | dotsClass | 面板指示点类名 | string | ` slick-dots ` |
10
+ | easing | 动画效果 | string | linear |
11
+ | effect | 动画效果函数,可取 scrollx, fade | string | scrollx |
12
+ | vertical | 垂直显示 | boolean | false |
12
13
13
14
## 方法
14
15
Original file line number Diff line number Diff line change 6
6
| --- | --- | --- | --- |
7
7
| bordered | Whether to show all table borders | boolean | ` false ` |
8
8
| childrenColumnName | The column contains children to display | string\[ ] | children |
9
- | columns | Columns of table | array | - |
9
+ | columns | Columns of table [ config ] ( #Column ) | array | - |
10
10
| components | Override default table elements | object | - |
11
11
| dataSource | Data record array to be displayed | any\[ ] | - |
12
12
| defaultExpandAllRows | Expand all rows initially | boolean | ` false ` |
Original file line number Diff line number Diff line change 6
6
| --- | --- | --- | --- |
7
7
| bordered | 是否展示外边框和列边框 | boolean | false |
8
8
| childrenColumnName | 指定树形结构的列名 | string\[ ] | children |
9
- | columns | 表格列的配置描述,具体项见下表 | array | - |
9
+ | columns | 表格列的配置描述,具体项见 [ 下表 ] ( #Column ) | array | - |
10
10
| components | 覆盖默认的 table 元素 | object | - |
11
11
| dataSource | 数据数组 | any\[ ] | |
12
12
| defaultExpandAllRows | 初始时,是否展开所有行 | boolean | false |
You can’t perform that action at this time.
0 commit comments