Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DoubleTap イベントと SingleTap イベントを webOS で別々に実装するにはどうすればよいですか?
Mojo.Event.tap のハンドラーで、イベントの count フィールドを確認します。ダブルタップの場合は 2、シングルタップの場合は 1 になります。常にシングルタップが最初に取得されることに注意してください。そのため、それに対して破壊的なことをしないようにしてください.