mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
648 B
648 B
Back Top
It helps you back to where you were. However, time never goes back.
Demos
Scroll down to see demos work.
basic
visibilityHeight
changePosition
targetContainerSelector
Props
Name | Type | Default | Description |
---|---|---|---|
theme | 'light' | 'dark' | null |
null |
|
target | () => HTMLElement |
a function that returns the nearest scrollable ascendant element | |
right | number | string |
40 |
|
bottom | number | string |
40 |
|
visibility-height | number |
180 |
|
themed-style | { [themeName: string]: Object } | null |
null |
Events
Name | Parameters | Description |
---|---|---|
show | () |
|
hide | () |