Skip to content

Swanalekha transiliteration tool for Malayalam, packed as a jquery plugin

Notifications You must be signed in to change notification settings

nishan/jquery-swanalekha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Jquery plugin for Swanalekha


INSTALLATION
Include swanalekha script in you html. Thats all.
<script src="jquery-swanalekha.js" ></script>

You should have also included jquery as well. 

USAGE:

$(selector_exp).swanalekha() 

This will enable swnalekha on elements selected by the selector experssion.

For eg : $("#t_input").swanalekha() will enable swanalekha on the element with id 't_input'
Eg: $("textarea").swanalekha() will enable swanalekha on all textareas
Eg: $("input").swanaleka() will enable swanaleka on all inputs, but only text inputs will actually be enabled.

Swanalekha can be customised with following options :
showCheckBox : if true, a checkbox will be sown near the text elements.
outlineStyle : Style of the text element when its swanalekha enabled
checkBoxLabel : Label of the checkbox, is relevant only if you have showCheckBox=true.

You can use the options as follows

$("textarea").swanalekha({showCheckBox: true, outlineStyle:'dashed 1px green'});

See test.html for more examples

About

Swanalekha transiliteration tool for Malayalam, packed as a jquery plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published