ChatMessageActionControl
Button for action displayed in _ChatMessageActionsView
.
open class ChatMessageActionControl: _Control, AppearanceProvider
Inheritance
Properties
content
The data this view component shows.
public var content: ChatMessageActionItem?
isHighlighted
override open var isHighlighted: Bool
containerStackView
ContainerStackView
that encapsulates titleLabel
and imageView
.
public lazy var containerStackView: ContainerStackView = ContainerStackView(alignment: .center)
.withoutAutoresizingMaskConstraints
titleLabel
UILabel
to show title
.
public lazy var titleLabel: UILabel
imageView
UIImageView
to show image
.
public lazy var imageView: UIImageView
Methods
setUpAppearance()
override open func setUpAppearance()
setUp()
override open func setUp()
setUpLayout()
override open func setUpLayout()
tintColorDidChange()
override open func tintColorDidChange()
updateContent()
override open func updateContent()
touchUpInsideHandler(_:)
Triggered when _ChatMessageActionControl
is tapped.
@objc open func touchUpInsideHandler(_ sender: Any)