ESkeletonItem 骨架项
示例与代码
自定义骨架形状
属性
属性说明取值与默认值
animatedbool启用骨架动画。
默认值
falseborder.colorcolor矩形边框颜色。
默认值
动态绑定border.widthreal矩形边框宽度,单位为像素。
默认值
0colorcolor自定义颜色;透明值通常表示使用当前主题或语义配色。
默认值
动态绑定enabledbool是否允许交互;false 时控件禁用。
默认值
trueheightreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitHeightradiusreal圆角半径,单位为像素。
默认值
动态绑定variantstring骨架占位内容的形状和尺寸样式。
"text" / "circle""button" / "image""caption" / "h1""h3"
默认值
"text"visiblebool是否显示组件。
默认值
truewidthreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitWidth