feat(Sticky): add change event (#8374)

This commit is contained in:
neverland
2021-03-18 09:35:31 +08:00
committed by GitHub
parent 062f5c54b4
commit 61b8cf2dec
4 changed files with 34 additions and 7 deletions
+4 -3
View File
@@ -69,9 +69,10 @@ export default {
### Events
| Event | Description | Arguments |
| ------ | ---------------------- | ------------------------------ |
| scroll | Emitted when scrolling | object: { scrollTop, isFixed } |
| Event | Description | Arguments |
| --- | --- | --- |
| change `v3.0.10` | Emitted when sticky status changed | _isFixed: boolean_ |
| scroll | Emitted when scrolling | _{ scrollTop: number, isFixed: boolean }_ |
### Less Variables