Skip to content

Latest commit

 

History

History
84 lines (47 loc) · 2.13 KB

cardelementoptions.md

File metadata and controls

84 lines (47 loc) · 2.13 KB

@bigcommerce/checkout-sdkCardElementOptions

Interface: CardElementOptions

Hierarchy

Index

Properties

Properties

Optional classes

classes? : StripeElementClasses

Inherited from BaseElementOptions.classes


Optional disabled

disabled? : undefined | false | true

Inherited from BaseElementOptions.disabled

Applies a disabled state to the Element such that user input is not accepted. Default is false.


Optional hideIcon

hideIcon? : undefined | false | true

Inherited from BaseElementOptions.hideIcon

Hides the icon in the Element. Default is false.


Optional hidePostalCode

hidePostalCode? : undefined | false | true

Hide the postal code field. Default is false. If you are already collecting a full billing address or postal code elsewhere, set this to true.


Optional iconStyle

iconStyle? : IconStyle

Appearance of the icon in the Element.


Optional style

style? : StripeElementStyle

Inherited from BaseElementOptions.style


Optional value

value? : undefined | string

A pre-filled set of values to include in the input (e.g., {postalCode: '94110'}). Note that sensitive card information (card number, CVC, and expiration date) cannot be pre-filled