mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Components added. Build issues fixed
This commit is contained in:
parent
5b66ed1093
commit
18c3721848
344 changed files with 12446 additions and 8758 deletions
|
@ -33,19 +33,20 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
containerClass() {
|
||||
return ['p-skeleton p-component', {
|
||||
'p-skeleton-circle': this.shape === 'circle',
|
||||
'p-skeleton-none': this.animation === 'none'
|
||||
}];
|
||||
return [
|
||||
'p-skeleton p-component',
|
||||
{
|
||||
'p-skeleton-circle': this.shape === 'circle',
|
||||
'p-skeleton-none': this.animation === 'none'
|
||||
}
|
||||
];
|
||||
},
|
||||
containerStyle() {
|
||||
if (this.size)
|
||||
return {width: this.size, height: this.size, borderRadius: this.borderRadius};
|
||||
else
|
||||
return {width: this.width, height: this.height, borderRadius: this.borderRadius};
|
||||
if (this.size) return { width: this.size, height: this.size, borderRadius: this.borderRadius };
|
||||
else return { width: this.width, height: this.height, borderRadius: this.borderRadius };
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
@ -55,7 +56,7 @@ export default {
|
|||
}
|
||||
|
||||
.p-skeleton::after {
|
||||
content: "";
|
||||
content: '';
|
||||
animation: p-skeleton-animation 1.2s infinite;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
|
@ -71,7 +72,7 @@ export default {
|
|||
}
|
||||
|
||||
.p-skeleton-none::after {
|
||||
animation: none;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
@keyframes p-skeleton-animation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue