docs: improve typing (#9362)

* docs: improve typing

* docs: upd
This commit is contained in:
neverland
2021-09-01 10:42:11 +08:00
committed by GitHub
parent 317035e9f5
commit f2eb7550a5
50 changed files with 471 additions and 51 deletions
+8
View File
@@ -80,6 +80,14 @@ export default {
| change `v3.0.10` | Emitted when sticky status changed | _isFixed: boolean_ |
| scroll | Emitted when scrolling | _{ scrollTop: number, isFixed: boolean }_ |
### Types
The component exports the following type definitions:
```ts
import type { StickyPosition } from 'vant';
```
## Theming
### CSS Variables