Options

public struct Options

Options for configuring the behavior of the number pad.

  • The color to use for the backspace button.

    Declaration

    Swift

    public var backspaceButtonColor: UIColor = ColorPalette.green.tint300
  • The corner radius to use for the non-backspace buttons.

    Declaration

    Swift

    public var buttonCornerRadius: CGFloat = 4
  • The text color to use for non-backspace buttons.

    Declaration

    Swift

    public var buttonTextColor: UIColor = ColorPalette.grey.tint900
  • The background color to use for non-backspace buttons.

    Declaration

    Swift

    public var buttonBackgroundColor: UIColor = ColorPalette.grey.tint300
  • The border color to use for non-backspace buttons.

    Declaration

    Swift

    public var buttonBorderColor: UIColor = ColorPalette.grey.tint300
  • The color to use for the main number text field.

    Declaration

    Swift

    public var textFieldColor: UIColor = ColorPalette.grey.tint900