refactor IVP expand button tooltip
class="btn btn-default toggle-collapsed"
(click)="toggleCollapsed()"
[class.collapsed]="isCollapsed"
- [tooltip]="toggleButtonTooltip"
+ [tooltip]="[ isCollapsed ? 'Expand' : 'Collapse' ]"
aria-label="Integration Visualization Pane Details Toggle"
placement="right"></button>
- <ng-template #toggleButtonTooltip>
- <div *ngIf="!isCollapsed">Collapse</div>
- <div *ngIf="isCollapsed">Expand</div>
- </ng-template>
</div>
