Handling mouse event is almost same as keyboard event. All you have to do is
- Define PlatformMouseEvent constructor for your port
- Handle your native MouseEvent on WebView then convert it PlatformMouseEvent
- Pass PlatformMouseEvent to Focused frame.
Failed to save quote. Please try again later.
You cannot quote because this article is private.