How add a badge on an ion-fab and hide when click?


#1

I’ve a fab buttons like this:

        <ion-fab left bottom auto-close-on-click-outside>
          <button ion-fab color="newcolor"><ion-icon name="chatbubbles"></ion-icon></button>
          <ion-fab-list side="top">
            <button ion-fab color="newcolor" (click)="themebrowser(link)"><ion-icon name="globe"></ion-icon></button>
            <button ion-fab color="newcolor" (click)="themebrowser(linkedinlink)"><ion-icon name="logo-linkedin"></ion-icon></button>
            <button ion-fab color="newcolor" (click)="themebrowser(twitterlink)"><ion-icon name="logo-twitter"></ion-icon></button>
            <button ion-fab color="newcolor" (click)="call()"><ion-icon name="phone-portrait"></ion-icon></button>
            <button ion-fab color="newcolor" (click)="contacto()"><ion-icon name="mail"></ion-icon></button>
          </ion-fab-list>
        </ion-fab>

I’m trying to append a little badge next to the icon and hide when you click on him. How can i achieve this?