clr-angular-static-fix
Version:
1. Install Clarity Icons package through npm:
21 lines (19 loc) • 653 B
HTML
<!--
~ Copyright (c) 2016-2018 VMware, Inc. All Rights Reserved.
~ This software is released under MIT license.
~ The full license information can be found in LICENSE in the root directory of this project.
-->
<div
*ngIf="!_closed"
class="alert"
[ngClass]="alertClass"
[class.alert-hidden]="isHidden"
[class.alert-sm]="isSmall"
[class.alert-app-level]="isAppLevel">
<div class="alert-items">
<ng-content></ng-content>
</div>
<button type="button" class="close" aria-label="Close" *ngIf="closable" (click)="close()">
<clr-icon aria-hidden="true" shape="close"></clr-icon>
</button>
</div>