Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Auto Input Text Direction is a little JavaScript function that detects the input language, on html forms, and changes the input direction based on the language, i.e., right to left for the Arabic language.

Notifications You must be signed in to change notification settings

alotaiba/Auto-Input-Text-Direction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Maybe you have seen this effect already used by Google, espicially in Google Translate, and YouTube. Whenever you change the input language on forms input, for example, to Arabic, and start typing, the direction of the text field changes to match the language natural direction.

Auto Input Text Direction is a little JavaScript function that I wrote, it detects the input language on html forms, and changes the input direction based on the language, i.e., right to left for the Arabic language, Thus, emulating Google's effect.

For more information, please visit the article where I explain its functionality.

About

Auto Input Text Direction is a little JavaScript function that detects the input language, on html forms, and changes the input direction based on the language, i.e., right to left for the Arabic language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published