Skip to content

walid-mashal/Type-Pashto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Type Pashto

This javascript module is used to help web developers apply the functionality of type pashto language without any need to change the system language.

To Use:

<input lang="ps-af" type="text"/>

<textarea lang="ps-af"></textarea>

<div contenteditable="true" lang="ps-af"></div>

and add a reference in your html file to the TypePashto.js

<script type="text/javascript" src="path/to/folder/TypePashto.js"></script>

For this module to work perfectly the input/textarea element needs to have an attribute of lang="ps-af".

This module will itself make the input box's text align right to left so that it is shown properly in the input box.

Demo:

Keyboard Structure

This module assumes that the keyboard structure of your computer is as of the following image.

keyboard layout

About

This javascript module is used to help web developers apply the functionality of typing Pashto language without any need to change the system language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published