[英]What is the difference between ionic1, ionic2 and ionic3? Is ionic2 and ionic3 are same?
[英]How can I get the position through the pan event in ionic2 or ionic3?
因此,每個人都知道我們可以添加以下代碼來捕獲ionic2中的pan事件:
(pan)='panEvent($event)'
但是,我想知道在平移屏幕時如何獲取點的x,y坐標? 關於$ event的結構有一些文檔,我想可以通過$ event來獲取x,y坐標。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.