ElemeFE / ElemeFE/element

[Feature Request] Can we provide a scope slot so that we can add display content to the image viewer.

Open
#21,271 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component

### Component Name
el-image

### Description
Sometimes, we want to display some text information in the current preview image during image preview, but the API currently provided cannot do so. Therefore, can we provide a scope slot so that we can add display content to the image viewer?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the el-image component and inspect how its image preview API and viewer content are rendered. Determine how a scope slot could expose the current preview image, then verify that custom display content appears during image preview and that existing preview behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.