[Library | Trunk]: Modal remove animation and add animation-fast to avoid onClose bug

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58755 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-05-25 10:50:17 +00:00
parent ef14da9a2f
commit d428f24fa1
1 changed files with 4 additions and 5 deletions

View File

@ -5,13 +5,12 @@ declare var UIkit: any;
@Component({ @Component({
selector: 'modal-alert', selector: 'modal-alert',
template: ` template: `
<div #element class="uk-modal" uk-modal <div #element class="uk-modal" uk-modal>
id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="uk-modal-dialog uk-modal-body uk-animation-fast uk-margin-medium-bottom uk-text-left"
<div class="uk-modal-dialog uk-modal-body uk-animation-slide-bottom-small uk-margin-medium-bottom uk-text-left" [ngClass]="classBody">
[ngClass]="classBody" role="">
<div [ngClass]="classTitle" class="uk-modal-title" [hidden]=!alertHeader> <div [ngClass]="classTitle" class="uk-modal-title" [hidden]=!alertHeader>
<button class="uk-modal-close-default uk-float-right" (click)='cancel()' uk-close></button> <button class="uk-modal-close-default uk-float-right" (click)='cancel()' uk-close></button>
<h4 class="modal-title" id="myModalLabel">{{alertTitle}}</h4> <h4 class="modal-title">{{alertTitle}}</h4>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<div [hidden]=!alertMessage> <div [hidden]=!alertMessage>