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