element-plus-image

Document Element Plus el-image attributes, events, slots, and viewer controls.

7|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/wepn13232/element-plus-skills --skill element-plus-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: element-plus-image
Source: https://github.com/wepn13232/element-plus-skills/tree/main/image
Command: npx skills add https://github.com/wepn13232/element-plus-skills --skill element-plus-image

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill delivers a concise API reference so developers no longer have to hunt through Element Plus docs when configuring the el-image component.

Core Features & Use Cases

  • Attribute Reference: Lists every el-image and image viewer prop so you can fine-tune previews, lazy loading, zoom, and teleportation behavior.
  • Event and Slot Coverage: Explains load, error, switch, viewer events, and custom slots to handle asynchronous image states and toolbar integration.
  • Use Case: When building a gallery component, consult the viewer expose methods and slots to sync custom toolbar actions with image transitions.

Quick Start

Ask for el-image attributes and viewer events to configure a responsive image preview workflow.

Frequently Asked Questions about element-plus-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure lazy loading for images in Element Plus?

To configure lazy loading for images in Element Plus, use the el-image component API attributes designed to control scroll-based loading behaviors. This avoids manual doc searches by providing direct access to specific lazy-loading props and viewer controls.

What events does the Element Plus image component support?

The Element Plus image component supports events for load, error, and switch states. You can use these el-image API events to handle asynchronous image loading states and custom viewer transitions within Vue applications.

How do I customize the image preview toolbar in Vue using el-image?

You can customize the image preview toolbar in Vue by utilizing el-image viewer slots and expose methods. This allows you to sync custom toolbar actions directly with image transitions and zoom behaviors during the preview workflow.

Can I use Element Plus image viewer controls for zoom functionality?

Yes, Element Plus image viewer controls support zoom functionality. The component API lists specific viewer props and expose methods that help developers fine-tune image zoom and teleportation behaviors without manual documentation lookups.

What are the limitations of using el-image for responsive image previews?

The el-image API reference details attributes and slots for responsive image previews but does not cover complex gallery state management. It focuses on component-level props, viewer events, and lazy loading configurations rather than full application architecture.