HTML

struct HTML : Equatable

Html message theme

  • Max width in points

    Declaration

    Swift

    public var maxWidth: CGFloat
  • Max height in points

    Declaration

    Swift

    public var maxHeight: CGFloat
  • If the dismiss icon should be hidden or not. Defaults to false

    Declaration

    Swift

    public var hideDismissIcon: Bool
  • Additional padding

    Declaration

    Swift

    public var padding: EdgeInsets
  • Dismiss icon resource name

    Declaration

    Swift

    public var dismissIconResource: String
  • Dismiss icon width

    Declaration

    Swift

    public var dismissIconWidth: CGFloat
  • Dismiss icon height

    Declaration

    Swift

    public var dismissIconHeight: CGFloat
  • Applies a style from a plist to the theme.

    Declaration

    Swift

    public mutating func applyPlist(plistName: String, bundle: Bundle? = Bundle.main) throws

    Parameters

    plistName

    The name of the plist

    bundle

    The plist bundle.