mathiajusth/intl-phone-input/1.0.0

NOTE: the latest version is 1.0.2

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/mathiajusth/intl-phone-input is gone (deleted or private); Software Heritage has not archived the repo; no fork with tag 1.0.0 found (8 same-name repos checked); no cached copy. Use another version.

Details

IntlPhoneInput.Type

Contains all the data types used in IntlPhoneInput

Types

type alias PhoneNumber =
{ isoCode : String
, phoneNumber : String
}

Record type to hold the phone number and country ISO code

type alias CountryData =
{ name : String
, dialCode : String
}

Record type to hold country name and the dial code number. This record is used by Config to hold the list of countries and their dial code.

Helpers

emptyPhoneNumber : PhoneNumber

A constant for an empty phone number.