docs(Sticky): reorder documents (#8370)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user