2017 © Pedro Peláez
 

library spell-me

A jQuery plugin to spell characters for easy readability

image

sahil290791/spell-me

A jQuery plugin to spell characters for easy readability

  • Sunday, August 23, 2015
  • by sahil290791
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

npm version Build Status, (*1)

This plugin provides a simple way to spell characters of a string and present it to the user. It supports various characters and symbols.

Usage

  1. Include jQuery:, (*2)

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
    
  2. Include plugin's code:, (*3)

    <script src="dist/spell-me.min.js"></script>
    
  3. Call the plugin:, (*4)

    $("#code").spellMe({
        className: "spellify",//multiple classes can be added to the table e.g. "table table-reponsive"
        target: "#result",//id or class e.g. ".myClass"
        getTabulatedResult: true // appends a table to the specified target
    });

Guides

Call it on the element which contains the code and that's it. If you have your own way of representing the spellified code. Just set the getTabulatedResult option to false and use the returnWords method, it will return an array of the spellified code., (*5)

    var spellifiedCode = $("#code").spellMe({
                            getTabulatedResult: false
                        }).returnWords();
    //returns ["Alfa", "Romeo", "Tango"]

Available options:, (*6)

        className: "anyClass" ( Use this option to add a class to the table created.)
        target: "target-ID/CLASS" (Specify the ID/CLASS of the element to which the result should be appended to.)
        getTabulatedResult: true (true by default, returns a HTML table appended to the target
                            , if set to false it will give an array of the spellified characters)

Examples

Click here to see the demo., (*7)

Contributing

Check CONTRIBUTING.md for more information., (*8)

License

MIT License © Sahil Prajapati, (*9)

Source

Characters source from Wiki, (*10)

The Versions

23/08 2015

dev-master

9999999-dev https://github.com/sahil290791/spell-me

A jQuery plugin to spell characters for easy readability

  Sources   Download

MIT

me spell spell me spell-me

23/08 2015

0.2.7

0.2.7.0 https://github.com/sahil290791/spell-me

A jQuery plugin to spell characters for easy readability

  Sources   Download

MIT

me spell spell me spell-me