当前位置:网站首页>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>
边栏推荐
猜你喜欢
![[embedded foundation] serial port communication](/img/b7/18fec20e2d5fa5f226c6f8bb1e93d2.png)
[embedded foundation] serial port communication

Evaluation - grey correlation analysis

Class initialization and callback usage

Numpy----np.reshape()

Cesium 获取屏幕所在经纬度范围

Cesium obtains the latitude and longitude range of the screen

How to optimize the "message" list of IM

Jenkins - 訪問 Jenkins 自定義參數變量,處理變量值中含有空格

Jenkins - 访问 Jenkins 自定义参数变量,处理变量值中含有空格

Drug interaction prediction based on learning size adaptive molecular substructure
随机推荐
要搞清楚什么是同步,异步,串行,并行,并发,进程,线程,协程
Numpy----np.meshgrid()
评价——秩和比综合评价
Description du format geojson (détails du format)
外盘期货哪里可以开户?哪个平台出入金比较安全?
对比学习中的4种经典训练模式
一张图弄懂 MIT,BSD,Apache几种开源协议之间的区别
Ten MySQL locks, one article will give you full analysis
Shardingsphere-proxy-5.0.0 establish MySQL read / write separation connection (6)
TD Hero online conference on July 2
Appium自动化测试基础 — ADB常用命令(一)
Appium automation test foundation ADB common commands (I)
9. Openfeign service interface call
TD Hero 线上发布会|7月2日邀你来
style中的scoped属性和lang属性
PV操作原语
评价——灰色关联分析
药物发现综述-03-分子设计与优化
To understand what is synchronous, asynchronous, serial, parallel, concurrent, process, thread, and coroutine
pytorch_ lightning. utilities. exceptions. MisconfigurationException: You requested GPUs: [1] But...