Interface

Element

Element

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

View Source types/element.d.ts, line 489

Members

void

# blur

Using this function to blur the input html element

View Source types/element.d.ts, line 521

void

# clear

Using this function to clear the input html element

View Source types/element.d.ts, line 526

null | HTMLElement

# domElement

Refer to the DOM element you call mount function

View Source types/element.d.ts, line 510

void

# focus

Using this function to focus the input html element https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/blur

View Source types/element.d.ts, line 531

HTMLIFrameElement | null

# iframe

The iframe element after mount to the DOM

View Source types/element.d.ts, line 505

null | HTMLElement

# mount

Element integration `step #3` Mount payment element to your HTML DOM element for checkout

View Source types/element.d.ts, line 515

void

# unmount

Using this function to unmount the element, opposite to mount function https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus

View Source types/element.d.ts, line 537

void

# update

Using this function to update the element option after create the element

View Source types/element.d.ts, line 543