File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 66| autoplay | Whether to scroll automatically | boolean | ` false ` |
77| beforeChange | Callback function called before the current index changes | function(from, to) | - |
88| dots | Whether to show the dots at the bottom of the gallery | boolean | ` true ` |
9+ | dotsClass | Class name of the dots | string | ` slick-dots ` |
910| easing | Transition interpolation function name | string | ` linear ` |
1011| effect | Transition effect | ` scrollx ` \| ` fade ` | ` scrollx ` |
1112| vertical | Whether to use a vertical display | boolean | ` false ` |
Original file line number Diff line number Diff line change 11## API
22
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 |
1213
1314## 方法
1415
Original file line number Diff line number Diff line change 66| --- | --- | --- | --- |
77| bordered | Whether to show all table borders | boolean | ` false ` |
88| childrenColumnName | The column contains children to display | string\[ ] | children |
9- | columns | Columns of table | array | - |
9+ | columns | Columns of table [ config ] ( #Column ) | array | - |
1010| components | Override default table elements | object | - |
1111| dataSource | Data record array to be displayed | any\[ ] | - |
1212| defaultExpandAllRows | Expand all rows initially | boolean | ` false ` |
Original file line number Diff line number Diff line change 66| --- | --- | --- | --- |
77| bordered | 是否展示外边框和列边框 | boolean | false |
88| childrenColumnName | 指定树形结构的列名 | string\[ ] | children |
9- | columns | 表格列的配置描述,具体项见下表 | array | - |
9+ | columns | 表格列的配置描述,具体项见 [ 下表 ] ( #Column ) | array | - |
1010| components | 覆盖默认的 table 元素 | object | - |
1111| dataSource | 数据数组 | any\[ ] | |
1212| defaultExpandAllRows | 初始时,是否展开所有行 | boolean | false |
You can’t perform that action at this time.
0 commit comments