Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
chizukicn committed Nov 8, 2023
1 parent 2955b69 commit cccfb84
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/component/affix.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@
## Fixed Position (固定的相对方向)
<demo src="../examples/affix/fixed.vue"/>


## Affix Props (参数)
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| offset | `number` | `0` | 距离达到指定偏移量后触发 |
| target | `string` | `window` | 指定容器 |
| position | `'top'` \| `'position'` | `'top'` | 固定的相对方向 |
| z-index | `number` | `998` | z-index 值 |

0 comments on commit cccfb84

Please sign in to comment.