// Default Ukrainian phone mask with flags and country selection
new SimplePhoneMask("#phone1", {
countryCode: "UA",
showFlag: true,
allowCountrySelect: true
});
// US phone mask with flags but no country selection
new SimplePhoneMask("#phone2", {
countryCode: "US",
showFlag: true,
allowCountrySelect: false
});
// Polish phone mask without flags
new SimplePhoneMask("#phone3", {
countryCode: "PL",
showFlag: false
});
// Polish mask with flags only (no country selection) and custom mask
new SimplePhoneMask("#phone4", {
countryCode: "+48",
maskPattern: "___ ___ ___",
showFlag: true,
allowCountrySelect: false
});
// Phone mask with country auto-detection by IP
new SimplePhoneMask("#phone5", {
detectIP: true,
showFlag: true,
allowCountrySelect: true
});