🔴 Favorite Icon Dot
A small library for dot manipulating in favicon.
Installation
npm install favorite-icon-dot
Demo
Using
; const dot = ; dot;
Advanced settings
; const dot = backgroundColor: '#ff0000' radius: 5 strokeColor: '#000' faviconSrc: '/my-icon.png' positionX: 'right' positionY: 'bottom'; dot;
API
.show()
Show dot in favicon.
; const dot = ; dot;
.hide()
Reset the favicon.
; const dot = ; // ... dot;
Browser support
- Chrome: ✅
- Firefox: ✅
- Opera: ✅
- IE: ❌
- Edge: ❌
- Safari: ❌ (Safari hides favicons)
License
MIT License