Skip to content

MobileElementOptions

Options for elements.create("mobile").

export interface MobileElementOptions extends BaseElementOptions
NameTypeDescription
phonePlaceholder?stringPlaceholder for the phone number field.
provider?MobileProviderThe mobile money provider. Defaults to "EcoCash".
resumeOtpFor?stringO’mari only: starts on the code step for this reference, for a page that was reloaded after the SMS went out. Pass it only when you know the SMS was sent and no code has been submitted: the transaction can’t get another.

Also has everything BaseElementOptions has.