FUILabel
@MainActor
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
valueproperty.Declaration
Swift
@MainActor open var onChangeHandler: ((Optional<String>) -> Void)? -
To add space around the content
Declaration
Swift
@MainActor open var insets: UIEdgeInsets { get set } -
Undocumented
Declaration
Swift
@MainActor override open var gestureRecognizers: [UIGestureRecognizer]? { get set } -
Undocumented
Declaration
Swift
@MainActor override open func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) -
Undocumented
Declaration
Swift
@MainActor override open func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)
-
This property indicates if the content is copyable or not.
The default is
true.Declaration
Swift
@MainActor public var isContentCopyable: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open override var accessibilityTraits: UIAccessibilityTraits { get set }