当前位置:网站首页>Solve the problem that the page cannot scroll when ionic4 uses the hammerjs gesture press event
Solve the problem that the page cannot scroll when ionic4 uses the hammerjs gesture press event
2022-06-28 02:18:00 【qq_ thirty-nine million two hundred and thirty-nine thousand on】
press Event can realize the function of long pressing the screen , But use press Events may cause the page to not scroll , At this time, you only need to add a touch screen attribute , Set the touch direction to y The axis direction can be solved , for example :
<ion-card *ngFor="let item of orderList" (press)=" delete(item)" [style.touch-action]="'pan-y'">
</ion-card>
边栏推荐
- Self supervised learning and drug discovery
- 数据库查询优化:主从读写分离及常见问题
- [Yocto RM] 2 - Yocto Project Terms
- Scala 基础 (三):运算符和流程控制
- Geojson format description (detailed format)
- Four classic training modes in comparative learning
- How to study efficiently
- 机器学习笔记 - 时间序列作为特征
- Cesium Color 颜色(赋值)随机颜色
- Jenkins - 访问 Jenkins 自定义参数变量,处理变量值中含有空格
猜你喜欢

Drug interaction prediction based on learning size adaptive molecular substructure

Xctf attack and defense world misc wage earner advanced zone
![[elt.zip] openharmony paper Club - memory compression for data intensive applications](/img/54/8248c1d95b04498d44a00ea94a6c85.png)
[elt.zip] openharmony paper Club - memory compression for data intensive applications

Numpy----np. meshgrid()

The interviewer asked: can you simulate the new operator of JS

1382. 将二叉搜索树变平衡-常规方法

Cesium 抗锯齿(线,边框等)

Jenkins - 内置变量访问

mysql面试百题集

嵌入式必学,硬件资源接口详解——基于ARM AM335X开发板 (上)
随机推荐
Adobe Premiere基础-编辑素材文件常规操作(脱机文件,替换素材,素材标签和编组,素材启用,便捷调节不透明度,项目打包)(十七)
Hi, you have a code review strategy to check!
OS module and os Learning of path module
[sylixos] I2C device driver creation and use
要搞清楚什么是同步,异步,串行,并行,并发,进程,线程,协程
Cesium 点击绘制多边形(动态绘制多边形)
Scala 基础 (三):运算符和流程控制
Solve storage problems? WMS warehouse management system solution
Cesium 多边形(polygon)extrudedHeight 和 height 的区别
Cesium 抗锯齿(线,边框等)
Capacitor
Description du format geojson (détails du format)
[Niuke discussion area] Chapter 4: redis
COSCon'22 讲师征集令
评价——秩和比综合评价
centos8-操作记录-命令版-yum-redis-mysql-nacos-jdk
Coscon'22 lecturer solicitation order
TIA botu_ Concrete method of making analog input and output Global Library Based on SCL language
PV operation primitive
205. isomorphic string