Skip to content

feat(VImg): pass attributes to <img>#22439

Merged
J-Sek merged 1 commit intonextfrom
feat/vimg-pass-attrs
Dec 19, 2025
Merged

feat(VImg): pass attributes to <img>#22439
J-Sek merged 1 commit intonextfrom
feat/vimg-pass-attrs

Conversation

@J-Sek
Copy link
Copy Markdown
Contributor

@J-Sek J-Sek commented Dec 13, 2025

Pass attributes to img (similar to VTextarea and other input fields)

  • TODO: rename filterInputAttrs or duplicate as filterImageAttrs if there would be any differences
    • maybe later

resolves #18860
closes #18907

Markup:

<template>
  <v-app theme="dark">
    <v-container>
      <v-img
        ref="img"
        :width="300"
        aspect-ratio="16/9"
        fetchpriority="low"
        src="https://cdn.vuetifyjs.com/images/parallax/material.jpg"
        cover
      />
    </v-container>
  </v-app>
</template>

@J-Sek J-Sek self-assigned this Dec 13, 2025
@J-Sek J-Sek added T: feature A new feature C: VImg labels Dec 13, 2025
@J-Sek J-Sek added this to the v4.0.0 (Revisionist) milestone Dec 19, 2025
@J-Sek J-Sek changed the base branch from dev to next December 19, 2025 14:25
@J-Sek J-Sek merged commit 71e01aa into next Dec 19, 2025
17 checks passed
@J-Sek J-Sek deleted the feat/vimg-pass-attrs branch December 19, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant