FUILabel

open class FUILabel : UILabel

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 }