Skip to content

View self touchCancel function

xu_whale edited this page Dec 4, 2019 · 8 revisions

title: View:touchCancel(function a) comments: false

简介

触摸取消的回调

设置触摸取消时的回调,并回调坐标值

  • @param a function 回调格式:
function(number x,number y) 
	 ---x:x轴坐标 
	 ---y:y轴坐标 
end ```
⚠️  该回调在用户移出当前视图时会调用
- @version  1.2.1
Clone this wiki locally