ViImageView

open class ViImageView: UIView

image view with a custom action button at the top right corner Note: the action button is currently not in used. It has been moved to the corner of the product card instead

  • product image view

    Declaration

    Swift

    public var imageView: UIImageView?
  • action button overlay on top right of the image

    Declaration

    Swift

    public var actionBtn: UIButton?
  • action button size

    Declaration

    Swift

    public var actionBtnSize: CGSize = .zero
  • position the action button with respect to the top right corner

    Declaration

    Swift

    public var actionMargin: UIEdgeInsets = UIEdgeInsets(top: 4, left: 0, bottom: 0, right: 4)
  • Undocumented

    Declaration

    Swift

    open class ViImageView: UIView
  • Undocumented

    Declaration

    Swift

    open class ViImageView: UIView
  • Undocumented

    Declaration

    Swift

    open class ViImageView: UIView