mrastiak / vue-notification-bell Goto Github PK
View Code? Open in Web Editor NEWVue.js notification bell component.
Home Page: https://mrastiak.github.io/vue-notification-bell/
License: MIT License
Vue.js notification bell component.
Home Page: https://mrastiak.github.io/vue-notification-bell/
License: MIT License
Will that be better to put the plus after the number. I personally fill the +5 as some number plus five, whereas 5+ as there are some numbers after the 5
Wondering change icon as fontawesome because i need same as many icon like messenger requests
Adding a new feature: playing a sound on notification increase
When animated is true the prefix plus not working
Add demo page.
In the same page, I have several notifications bells, which all of them with the same id "notificationBell". It's confusing and can create some javascript issues.
Instead of that, why don't replace this id by a class, or allow to define the notification bell's ID with a param, like this ?
<notification-bell :id=[my chosen unique ID] ... />
Invalid prop: type check failed for prop "value". Expected Number with value NaN, got String with value "50+".
decoratedCounter () { if (this.count <= this.upperLimit) { return Math.floor(this.count) } else { if (this.prefixPlus) { return
+${Math.floor(this.upperLimit)}} else { return
${Math.floor(this.upperLimit)}+} } }
Update README.md
Add animation to the notification counter.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.