attachment-preview-container-properties
discardButtonHandler
A closure handler that is called when the discard button of the attachment is clicked
public var discardButtonHandler: (() -> Void)?
discardButton
A button to remove the attachment from the collection of attachments.
open private(set) lazy var discardButton: UIButton = UIButton()
.withoutAutoresizingMaskConstraints
Methods
setUp()
override open func setUp()
setUpLayout()
override open func setUpLayout()
setUpAppearance()
override open func setUpAppearance()
embed(attachmentView:)
open func embed(attachmentView view: UIView)
discard()
@objc open func discard()