- Notifications
You must be signed in to change notification settings - Fork2
Character Map selector for UTF8 special characters
License
pallant/js-charMap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DISCONTINUED:This has been discontinued in favour ofthis react component based off of this. This can still be used, but it is unsupported.
Character Map selector for UTF8 special characters.
Ultimately, styling is up to you, this only includes the most basic of styles for the demo.
The script is library agnostic (vanilla javascript), the decision was made to not minify or compile the script, as this should be done on build of your entire app. This allows for custom debugging and compiling procedures.
<scriptsrc="charMap.js"></script>
<linkrel="stylesheet"href="charMap.css">
<script>charMap.init({target:"#character-map",// Element or SelectoronLoad:function(){console.log("Character map loaded");},onClick:function(char){// User has clicked a character, so do what you needconsole.log("The character is; "+char);}});</script>
if you notice something missing from the character list, feel free to raise a pull request with updates, or fork it and make it even better :)
About
Character Map selector for UTF8 special characters