<div [ngClass]="{floatingbtntooltip: tooltip}">
    <div class="floatingbutton" title="" role="button" tabindex="1" [attr.aria-pressed]="ispressed" attr.aria-describedby="{{componentId}}" (keyup.enter)="togglebtn($event)" (keyup.space)="togglebtn($event)" [ngClass]="addCSSClasses()" [ngStyle]="{'top':top,'bottom':bottom,'left':left,'right':right, 'background-color': bgcolorflag ? bgcolor : ''}"
        (click)="buttonClick($event)">
         <amexio-c-icon *ngIf="icon" [customclass]="icon" [color]="iconcolor">
        </amexio-c-icon>
        {{label}}

    </div>
    <span id="{{componentId}}" role="tooltip" *ngIf="tooltip" class="floatingbtntooltiptext">{{tooltip}}</span>

</div>
