Hammer

ngFor with Hammer JS swipe function in Angular 7

孤人 提交于 2021-02-11 12:50:34
问题 While using Hammer js swipe function with *ngFor in angular.The result expected was a swipe for particular index of tile and that tile will be removed. But by doing that the animation is not working now. the code which i have done is in below link: https://stackblitz.com/edit/angular-animations-lib-demo-ahykzr?file=src%2Fapp%2Fapp.component.html 回答1: Arjun, you use an unique variable to control the animations, that's for all the div you has [@cardAnimator]="animationState" So, when change the

ngFor with Hammer JS swipe function in Angular 7

和自甴很熟 提交于 2021-02-11 12:50:32
问题 While using Hammer js swipe function with *ngFor in angular.The result expected was a swipe for particular index of tile and that tile will be removed. But by doing that the animation is not working now. the code which i have done is in below link: https://stackblitz.com/edit/angular-animations-lib-demo-ahykzr?file=src%2Fapp%2Fapp.component.html 回答1: Arjun, you use an unique variable to control the animations, that's for all the div you has [@cardAnimator]="animationState" So, when change the

单机Ceph从Firefly升级到Hammer

Deadly 提交于 2019-12-12 12:54:43
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 单机上部署了Firefly版的Ceph集群,其中包括:mon(一个)、osd(三个)和mds(一个)。单机上使用的操作系统是ubuntu-14.04-server-amd64版。此次升级的要求是数据不能丢失且不能停机升级。 由于当前Firefly版本使用的是mkcephfs部署的,而新版本的ceph已经用ceph-deploy代替了mkcephfs,因此在Hammer版本中已经没有了mkcephfs。升级部署可以使用ceph-deploy工具进行升级,也可以通过包管理的方法进行升级。这里我才用ceph-deploy工具进行升级。 具体升级操作流程如下: 1、安装ceph-deploy工具。 1)更新新版本的软件源。 # wget -q -O- 'https://git.ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo apt-key add - # apt-add-repository 'deb http://download.ceph.com/debian-hammer/ trusty main' # echo deb https://download.ceph.com/debian-hammer/ $(lsb_release