Popover Animation

This commit is contained in:
NejcZdovc
2016-11-28 10:05:49 +01:00
committed by József Farkas
parent 996ad59dc4
commit e3f8ca4357
5 changed files with 62 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
<div class="popover"
#popover
[ngClass]="{'display': visible, 'leftArrow': leftArrow, 'rightArrow': rightArrow}"
[@popover]="animationState"
[ngClass]="{'leftArrow': leftArrow, 'rightArrow': rightArrow}"
[style.top.px]="topPosition"
[style.left.px]="leftPosition"
>