ninjacat.everywhere

0.88.48 • Public • Published

ninjacat everywhere v0.88.48 - Emoji polyfill support for old Windows, iOS, Android and other devices

Do you dream you can use ninjacat emojis in all your sites but windows 10 systems only have able to display? With this plugin you can spread all around the world your ninjacat passion! 🦄🐱❤️

Not too seriuos, project made only for fun

Install

NPM

npm install -g ninjacat.everywhere [👷SOON] 

JS/CSS

Include in your page css and js script:

<link rel="stylesheet" href="ninjacat.everywhere.css">
<script src="ninjacat.everywhere.js"></script>

Basic usage

Wrap every text content with a class to make the magic 🌈

<h2 class="we-all-love-ninjacat">🐱‍👤 🐱‍💻 🐱‍🏍️ 🐱‍🚀 🐱‍👓 🐱‍🐉</h2>

Run parse method at ready event

$(function () {
    $(".we-all-love-ninjacat").each(function(){
    var el = $(this);
    ninjacateverywhere.parse(el);
    })
});

Methods

Parse content to add support for ninjacat emojis:

ninjacateverywhere.parse(<DOMElement>);

Check browser support:

ninjacateverywhere.support();  // return boolean

Force using polyfill in all browsers:

ninjacateverywhere.legacymode();

You can add custom <any>cats (check the example page)

ninjacateverywhere.addcustom("🦄");  // one custom cat or many

Bugs

Please report any bugs to: https://github.com/inuyaksa/ninjacat.everywhere/issues

License

Licensed under the MIT License: https://opensource.org/licenses/MIT

Thanks

/ninjacat.everywhere/

    Package Sidebar

    Install

    npm i ninjacat.everywhere

    Weekly Downloads

    0

    Version

    0.88.48

    License

    MIT

    Unpacked Size

    62 kB

    Total Files

    15

    Last publish

    Collaborators

    • inuyaksa