[Trunk|Library]: Add at giff slider boolean parameter for gifs position.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56191 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-06-25 08:18:21 +00:00
parent 570f029cbc
commit e5b04985fb
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import {Component, Input} from '@angular/core';
<div class="uk-width-1-2">
<img [attr.src]="gif.gif">
</div>
<div class="uk-width-1-2">
<div class="uk-width-1-2 " [ngClass]="(gifRight)?'uk-flex-first':''">
<h1 style="font-size: 28px">{{gif.header}}</h1>
<div class="uk-text-large"> {{gif.text}}</div>
<div *ngIf="link" class="uk-inline uk-margin-large-top uk-margin-bottom">
@ -28,4 +28,5 @@ export class GifSliderComponent {
@Input() link = false;
@Input() route = null;
@Input() linkTitle = null;
@Input() gifRight = false;
}