From 879daf9be32ce9b68c16b615d2129fe306b894c0 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 27 Jun 2019 10:26:02 +0000 Subject: [PATCH] [Trunk|Library]: Add some parameters on gif slider. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56217 d315682c-612b-4755-9ff5-7f18f6832af3 --- utils/gif-slider/gif-slider.component.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/utils/gif-slider/gif-slider.component.ts b/utils/gif-slider/gif-slider.component.ts index b38217be..70f1d675 100644 --- a/utils/gif-slider/gif-slider.component.ts +++ b/utils/gif-slider/gif-slider.component.ts @@ -3,7 +3,11 @@ import {Component, Input} from '@angular/core'; @Component({ selector: 'gif-slider', template: ` -
+
  • @@ -32,5 +36,10 @@ export class GifSliderComponent { @Input() route = null; @Input() linkTitle = null; @Input() gifRight = false; + @Input() velocity = 0; + @Input() autoplay = true; + @Input() autoplayInterval = 4000; + @Input() pauseOnHover = false; + @Input() center = true; }