The control uses the Email Validator API that checks for fake DNS and regex functions to check email for length and accepted characters.
To use the API, Login to RapidAPI and get the API Key.
Use this key for the API property required by the PCF Control to call the API.
The control will check pass on the email address and based on the response received i.e. isValid true or false, will display the appropriate message just below the field.
The Email Validator API needs to be updated as at times it will show valid domains as invalid. So will not suggest to use this in the production environment.
This control is more of an example of how we can call the APIs, get the response and show the result.
Get the source code here
Hope it helps..