mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #5179 - Improve data-pc-
structure in components
This commit is contained in:
parent
3b72308226
commit
4836654f7b
85 changed files with 128 additions and 242 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<span :class="containerClass" :style="style" v-bind="ptm('root')" data-pc-name="image">
|
||||
<span :class="containerClass" :style="style" v-bind="ptm('root')">
|
||||
<slot name="image" :onError="onError" :errorCallback="onError">
|
||||
<img :style="imageStyle" :class="[cx('image'), imageClass]" @error="onError" v-bind="{ ...$attrs, ...ptm('image') }" />
|
||||
</slot>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue