Skip to content

Emoji polyfill support for old Windows, iOS, Android and other devices

License

Notifications You must be signed in to change notification settings

inuyaksa/ninjacat.everywhere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 i ninjacat.everywhere

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

About

Emoji polyfill support for old Windows, iOS, Android and other devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published