Skip to content
/ morseJS Public

Translate any text in browsers from an entry to the morse code vibrate the device with Javascript

License

Notifications You must be signed in to change notification settings

kiviev/morseJS

Repository files navigation

morseJS

Translate any text in browsers from an input to morse code with Javascript

How to use

First, import the contents of the file morse.js into our html:

<script src="/morse.js"></script>

Then, once imported just create an instance of the Morse object to be able to use it as follows:

var foo = new Morse('font','button');
	foo.init();

Where font is the jquery selector of the input from which we select the text to translate and button, it is the jquery selector of the event trigger that will do the translation.

Then start with the init();.

https://kiviev.github.io/morseJS/

About

Translate any text in browsers from an entry to the morse code vibrate the device with Javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published