SkeletonLabel
@MainActor
open class SkeletonLabel : SkeletonView
骨架屏多行标签视图,可显示多行骨架
-
行数,默认0
Declaration
Swift
@MainActor open var numberOfLines: Int
-
行高,默认15
Declaration
Swift
@MainActor open var lineHeight: CGFloat
-
行圆角,默认0
Declaration
Swift
@MainActor open var lineCornerRadius: CGFloat
-
行固定间距,默认10
Declaration
Swift
@MainActor open var lineSpacing: CGFloat
-
最后一行显示百分比,默认0.7
Declaration
Swift
@MainActor open var lastLinePercent: CGFloat
-
行颜色,默认骨架颜色
Declaration
Swift
@MainActor open var lineColor: UIColor
-
内容边距,默认zero
Declaration
Swift
@MainActor open var contentInsets: UIEdgeInsets
-
Declaration
Swift
@MainActor override open func updateAnimationLayers()