mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
update doc and ignore file (#2289)
This commit is contained in:
parent
79b4fffb69
commit
5ec8a8e2bd
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ test/unit/coverage
|
||||
package-lock.json
|
||||
playground/temp
|
||||
yarn.lock
|
||||
.DS_Store
|
||||
.vscode
|
||||
.idea
|
||||
*.swp
|
||||
|
@ -21,9 +21,9 @@ target-container-selector
|
||||
|
||||
| 名称 | 类型 | 默认值 | 说明 |
|
||||
| --- | --- | --- | --- |
|
||||
| bottom | `number` | `40` | BackTop 距离页面底部的高度 |
|
||||
| bottom | `number \| string` | `40` | BackTop 距离页面底部的高度 |
|
||||
| listen-to | `string \| HTMLElement` | `undefined` | 监听滚动的元素,如果为 `undefined` 会监听距离最近的一个可滚动的祖先节点 |
|
||||
| right | `number` | `40` | BackTop 距离页面右侧的宽度 |
|
||||
| right | `number \| string` | `40` | BackTop 距离页面右侧的宽度 |
|
||||
| show | `boolean` | `undefined` | 是否显示 BackTop(受控) |
|
||||
| to | `string \| HTMLElement` | `'body'` | BackTop 渲染的容器节点 |
|
||||
| visibility-height | `number` | `180` | 滚动时触发显示回到顶部的高度 |
|
||||
|
Loading…
Reference in New Issue
Block a user