SVELTE TEL INPUT

Parse phone numbers easily.

Advanced Example

value

Key

value

Value

+36201234567

Payload

"+36201234567"

detailedValue

Key

parsedTelInput

Value

null

Payload

"null"

valid

Key

valid

Value

true

Payload

"true"

country

Key

country

Value

null

Payload

"null"

Basic Example with init value

value

Key

value

Value

+14842918723

Payload

"+14842918723"

detailedValue

Key

parsedTelInput

Value

null

Payload

"null"

valid

Key

valid

Value

true

Payload

"true"

country

Key

country

Value

null

Payload

"null"

Basic Example without init value

value

Key

value

Value

null

Payload

"null"

detailedValue

Key

parsedTelInput

Value

null

Payload

"null"

valid

Key

valid

Value

true

Payload

"true"

country

Key

country

Value

null

Payload

"null"

Event driven example

value

Key

value

Value

+441234567988

Payload

"+441234567988"

detailedValue

Key

parsedTelInput

Value

null

Payload

"null"

valid

Key

valid

Value

true

Payload

"true"

country

Key

country

Value

null

Payload

"null"