Closed mtpc closed 6 years ago
This will be done in the near future. Right before the
@marcosmoura :eyes: :hourglass: ?
Hi there ! Great project. I am currently planning to start a new project with Vue and material design. And badge is something that I need. Any estimates around when this is going to be completed ?
@agnivade
here's some css you can use to implement it yourself for now.
.badge:after{
content:"";
position: absolute;
background: rgba(255, 0, 0, 0.85);
height:1rem;
top:1rem;
right:1rem;
width:1rem;
text-align: center;
line-height: 2rem;;
font-size: 1rem;
border-radius: 50%;
color:white;
}
then apply it to a material design button, like this:
<md-button class="md-fab md-primary md-fab-bottom-right badge">
<md-icon md-iconset="fa fa-list-alt"></md-icon>
</md-button>
Wow, that is handy. Now, if I have to show some nos. inside the badge, do I put it inside the content: ""
?
This project is a bit dead now as its not being maintained...
I've been using this and it has a hell of a lot more features.
@agnivade
Wow, that is handy. Now, if I have to show some nos. inside the badge, do I put it inside the content: ""
yea, but the scaling may be wonky
@kgrosvenor
thanks for lib suggestion. May check it out, when I need more features
I'm currently only using vue-material just for the floating action button.
@kgrosvenor also you may have spoken too soon about the lib being dead
https://github.com/vuematerial/vue-material/commits/develop, some new action as of yesterday :joy_cat:
@kgrosvenor @lmj0011 lib is under https://github.com/vuematerial organization and we have new contributor 👍
Soon will be added
See https://getmdl.io/components/#badges-section or http://www.material-ui.com/#/components/badge