Skip to content

Latest commit

 

History

History
69 lines (38 loc) · 1.6 KB

stripeelementclasses.md

File metadata and controls

69 lines (38 loc) · 1.6 KB

@bigcommerce/checkout-sdkStripeElementClasses

Interface: StripeElementClasses

Set custom class names on the container DOM element when the Stripe element is in a particular state.

Hierarchy

  • StripeElementClasses

Index

Properties

Properties

Optional base

base? : undefined | string

The base class applied to the container. Defaults to StripeElement.


Optional complete

complete? : undefined | string

The class name to apply when the Element is complete. Defaults to StripeElement--complete.


Optional empty

empty? : undefined | string

The class name to apply when the Element is empty. Defaults to StripeElement--empty.


Optional focus

focus? : undefined | string

The class name to apply when the Element is focused. Defaults to StripeElement--focus.


Optional invalid

invalid? : undefined | string

The class name to apply when the Element is invalid. Defaults to StripeElement--invalid.


Optional webkitAutoFill

webkitAutoFill? : undefined | string

The class name to apply when the Element has its value autofilled by the browser (only on Chrome and Safari). Defaults to StripeElement--webkit-autofill.