Setup


  • Using the Makemoji Javascript library requires the latest JQuery and Bootstrap libraries

  • Add the following to your document head

<script src="https://d1tvcfe0bfyi6u.cloudfront.net/sdk/makemoji-1.2.min.js"></script>     
<link rel="stylesheet" type="text/css" href="https://d1tvcfe0bfyi6u.cloudfront.net/sdk/makemoji-1.2.min.css">

Usage


On document ready, attach to a container where you want to display the text input.

$(function(){
    Makemoji.init('YOUR_SDK_KEY', "#container");
});

Only one instance of the Makemoji SDK can be used per page.

To get the HTML output of the text input, trigger the getHTML() function.

$('body').on('click', '#sendbutton', function(){
   var htmlOutput = Makemoji.getHTML();
    // send to your backend, display on page, etc
 });

Example Page