favorite-icon-emoji
v1.2.2
Published
Small library for emoji manipulating with desktop favicon
Downloads
3
Readme
😃 Favorite Icon Emoji
Small library for emoji manipulating with desktop favicon.
Desktop browser support
- Chrome: ✅
- Edge: ✅
- Firefox: ✅
- Opera: ✅
- IE: ❌
- Safari: ❌ (Safari hides favicons)
Installation
npm install favorite-icon-emoji
Demo
API
FaviconEmoji.set(symbol: string)
Set the favicon with your own emoji.
import { FaviconEmoji } from 'favorite-icon-emoji';
FaviconEmoji.set('❤️');
FaviconEmoji.reset()
Reset the favicon.
import { FaviconEmoji } from 'favorite-icon-emoji';
// ...
FaviconEmoji.reset();
License
MIT License