Angular2: How to fade out box-msg after a while which is displayed onClick
问题 Might be a silly question but am new to angular and still learning. Am showing a success message on button click which I need to fade out after few seconds. <div *ngIf="hideSharedLinkCopyMessage" class="alert alert-success box-msg " role="alert"> <strong>Link Generated!</strong> Your sharable link is copied to clipboard. </div> Now, am using alert-success and box-msg classes. I tried to add fadeOut class as well but that didn't worked. hideSharedLinkCopyMessage is set to true when the button