Functions and external fields can be using in your integration flow with airwallex element
Two ways to get elements, by call createElement function or getElement
***IMPORTANT***
Once element destroy by call function destroyElement, the element reference should not be using anymore
Members
void
# focus
Using this function to focus the input html element
https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/blur
null
|
HTMLElement
# mount
Element integration `step #3`
Mount payment element to your HTML DOM element for checkout
CardElementOptions
|
CardNumberElementOptions
|
ExpiryDateElementOptions
|
CvcElementOptions
|
FullFeaturedCardElementOptions
|
DropInElementOptions
|
WechatElementOptions
|
QrcodeElementOptions
|
RedirectElementOptions
|
PaymentRequestButtonOptions
# options Optional
Refer to the options when call createElement
void
# unmount
Using this function to unmount the element, opposite to mount function
https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus