What problem does it solve?
Element Plus developers need immediate, centralized documentation for the Affix component instead of sifting through external sites, so this skill exports the key attribute, event, slot, and expose details right inside Claude Code.
Core Features & Use Cases
- Attribute Reference: Lists offset, position, target, z-index, teleported, and append-to options with types and defaults so sticky behavior can be fine-tuned without leaving the chat.
- Event/Slot/Expose Guidance: Covers change and scroll events, the default slot, and exposes like update and updateRoot to respond to position shifts and refresh state when necessary.
- Use Case: When implementing a sticky header or sidebar, ask for el-affix parameters to quickly match offsets and scroll listeners to the design requirements.
Quick Start
Ask the skill how to configure el-affix with your desired offset and target before sculpting a sticky header.