BaseElementOptions
Options shared by every element. Events are not options: listen with
element.on("change", handler).
export interface BaseElementOptionsProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
ariaDescribedBy? | string | Id of an element in your page that describes this one, such as your own error message. |
ariaLabel? | string | Accessible name for the element. |
className? | string | A class added to the element’s container, beside pesepay-element. |
disabled? | boolean | Disables input. Toggle it with update({ disabled }). |
placeholder? | string | Placeholder text: the card number’s, or the scan element’s before it has a code. |
theme? | PesepayTheme | Theme for this element, over the group’s and the config’s. |