一键导入
element-plus-affix
Element Plus Affix component (el-affix) API documentation. Triggers when user wants to use, implement, or asks about el-affix or Affix component.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Element Plus Affix component (el-affix) API documentation. Triggers when user wants to use, implement, or asks about el-affix or Affix component.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Element Plus Alert component (el-alert) API documentation. Triggers when user wants to use, implement, or asks about el-alert or Alert component.
Element Plus Anchor component (el-anchor) API documentation. Triggers when user wants to use, implement, or asks about el-anchor or Anchor component.
Element Plus Autocomplete component (el-autocomplete) API documentation. Triggers when user wants to use, implement, or asks about el-autocomplete or Autocomplete component.
Element Plus Avatar component (el-avatar) API documentation. Triggers when user wants to use, implement, or asks about el-avatar or Avatar component.
Element Plus Backtop component (el-backtop) API documentation. Triggers when user wants to use, implement, or asks about el-backtop or Backtop component.
Element Plus Badge component (el-badge) API documentation. Triggers when user wants to use, implement, or asks about el-badge or Badge component.
| name | element-plus-affix |
| description | Element Plus Affix component (el-affix) API documentation. Triggers when user wants to use, implement, or asks about el-affix or Affix component. |
| Name | Description | Type | Default |
|---|---|---|---|
| offset | offset distance | ^[number] | 0 |
| position | position of affix | ^[enum]'top' | 'bottom' | top |
| target | target container (CSS selector) | ^[string] | — |
| z-index | z-index of affix | ^[number] | 100 |
| teleported ^(2.13.0) | whether affix element is teleported, if true it will be teleported to where append-to sets | ^[boolean] | false |
| append-to ^(2.13.0) | which element the affix element appends to | ^[CSSSelector] / ^[HTMLElement] | body |
| Name | Description | Type |
|---|---|---|
| change | triggers when fixed state changed | ^[Function](fixed: boolean) => void |
| scroll | triggers when scrolling | ^[Function](value: { scrollTop: number, fixed: boolean }) => void |
| Name | Description |
|---|---|
| default | customize default content |
| Name | Description | Type |
|---|---|---|
| update | update affix state manually | ^[Function]() => void |
| updateRoot | update rootRect info | ^[Function]() => void |