primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
2 lines (1 loc) • 996 B
JavaScript
this.primevue=this.primevue||{},this.primevue.skeleton=function(e,t,i){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"Skeleton",extends:{name:"BaseSkeleton",extends:r(e).default,props:{shape:{type:String,default:"rectangle"},size:{type:String,default:null},width:{type:String,default:"100%"},height:{type:String,default:"1rem"},borderRadius:{type:String,default:null},animation:{type:String,default:"wave"}},style:r(t).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{containerStyle:function(){return this.size?{width:this.size,height:this.size,borderRadius:this.borderRadius}:{width:this.width,height:this.height,borderRadius:this.borderRadius}}}};return n.render=function(e,t,r,n,s,u){return i.openBlock(),i.createElementBlock("div",i.mergeProps({class:e.cx("root"),style:[e.sx("root"),u.containerStyle],"aria-hidden":"true"},e.ptmi("root")),null,16)},n}(primevue.basecomponent,primevue.skeleton.style,Vue);