Home > widget-integration > BackInStockController > selectPhoneCountry
BackInStockController.selectPhoneCountry() method
Signature:
protected selectPhoneCountry(country: {
name: string;
dialCode: string;
isoCode: string;
flag: string;
}, selectedFlag: HTMLImageElement, phoneInput: HTMLInputElement | null, selectedOption: Element, dropdownElement: Element, optionList: Element): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
country |
{ name: string; dialCode: string; isoCode: string; flag: string; } | |
|
selectedFlag |
HTMLImageElement | |
|
phoneInput |
HTMLInputElement | null | |
|
selectedOption |
Element | |
|
dropdownElement |
Element | |
|
optionList |
Element |
Returns:
void