mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
652 B
652 B
Back Top
It helps you back to where you were. However, time never goes back.
Demos
Scroll down to see demos work.
basic
visibility-height
change-position
target-container-selector
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 | () |