docs(Sticky): reorder documents (#8370)

This commit is contained in:
Glory 1997
2021-03-17 16:38:09 +08:00
committed by GitHub
parent b3146b9108
commit 062f5c54b4
2 changed files with 17 additions and 17 deletions
+8 -8
View File
@@ -38,14 +38,6 @@ app.use(Sticky);
</div>
```
### Offset Bottom
```html
<van-sticky :offset-bottom="50" position="bottom">
<van-button type="primary">Offset Bottom</van-button>
</van-sticky>
```
```js
export default {
setup() {
@@ -55,6 +47,14 @@ export default {
};
```
### Offset Bottom
```html
<van-sticky :offset-bottom="50" position="bottom">
<van-button type="primary">Offset Bottom</van-button>
</van-sticky>
```
## API
### Props