mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #5257
This commit is contained in:
parent
d77e66415b
commit
23a21c2407
7 changed files with 13 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div :class="cx('root')" :style="[sx('root'), containerStyle]" aria-hidden="true" v-bind="ptm('root')"></div>
|
||||
<div :class="cx('root')" :style="[sx('root'), containerStyle]" aria-hidden="true" v-bind="ptmi('root')"></div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -8,6 +8,7 @@ import BaseSkeleton from './BaseSkeleton.vue';
|
|||
export default {
|
||||
name: 'Skeleton',
|
||||
extends: BaseSkeleton,
|
||||
inheritAttrs: false,
|
||||
computed: {
|
||||
containerStyle() {
|
||||
if (this.size) return { width: this.size, height: this.size, borderRadius: this.borderRadius };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue