[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:
parent
ef14da9a2f
commit
d428f24fa1
|
@ -5,13 +5,12 @@ declare var UIkit: any;
|
|||
@Component({
|
||||
selector: 'modal-alert',
|
||||
template: `
|
||||
<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-slide-bottom-small uk-margin-medium-bottom uk-text-left"
|
||||
[ngClass]="classBody" role="">
|
||||
<div #element class="uk-modal" uk-modal>
|
||||
<div class="uk-modal-dialog uk-modal-body uk-animation-fast uk-margin-medium-bottom uk-text-left"
|
||||
[ngClass]="classBody">
|
||||
<div [ngClass]="classTitle" class="uk-modal-title" [hidden]=!alertHeader>
|
||||
<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 class="uk-margin">
|
||||
<div [hidden]=!alertMessage>
|
||||
|
|
Loading…
Reference in New Issue