FUILabel

open class FUILabel : UILabel, FUIContentCopyable

Subclass of UILabel, implementing onChangeHandler that is invoked on changes to the value property.

Theming

Base class paths:

fdlFUILabel {}

Supported Text attributes:

font-color (Color)
font-name (FontName)
font-style (UIFontTextStyle)
font-size (Number)
text-align (TextAlign)
text-line-clamp (Integer)
  • Implementation of change handler. Is invoked on changes to the value property.

    Declaration

    Swift

    open var onChangeHandler: ((Optional<String>) -> Void)?
  • To add space around the content

    Declaration

    Swift

    open var insets: UIEdgeInsets { get set }
  • This property indicates if the content is copyable or not.

    The default is true.

    Declaration

    Swift

    public var isContentCopyable: Bool { get set }