FUIButtonCollectionViewCell
@MainActor
open class FUIButtonCollectionViewCell : FUIBaseDrawingCollectionViewCell<FUIButtonFormView>
Simple UICollectionViewCell subclass, containing a UIButton instance which can be
aligned to 3 FUIHorizontalAlignment positions: .left, .center, .right.
Usage:
Implement the action handler for the UIButton instance, to respond to UIControl events.
Theming
Supported FUIButtonCollectionViewCell class path:
fdlFUIButtonCollectionViewCell
Supported BUTTON class paths:
fdlFUIButtonCollectionViewCell_button
-
Implementation of change handler. Is invoked when button is tapped.
Declaration
Swift
@MainActor public var onChangeHandler: ((UIControlEvents) -> Void)? { get set } -
Indicates if the button is enabled.
Declaration
Swift
@MainActor public override var isEnabled: Bool { get set } -
The alignment for this button.
Declaration
Swift
@MainActor public var alignment: FUIHorizontalAlignment { get set }