Blueforcer Well-Known Member Licensed User Longtime User Jul 14, 2019 #1 Since MouseDown and MouseEnter doesnt work on Touchscreen because mobile browsers fires "touchstart" & "touchend" events, it would be nice to have a support for that. https://stackoverflow.com/questions/25135736/does-jquery-mouseup-event-work-on-touch-devices is there a workaround to add this events to the b4j_ws.js? Thanks
Since MouseDown and MouseEnter doesnt work on Touchscreen because mobile browsers fires "touchstart" & "touchend" events, it would be nice to have a support for that. https://stackoverflow.com/questions/25135736/does-jquery-mouseup-event-work-on-touch-devices is there a workaround to add this events to the b4j_ws.js? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2019 #2 You can always raise events from the JavaScript code using b4j_raiseEvent. Example: https://www.b4x.com/android/forum/threads/webapp-custom-elements-datepicker-dialogs.39885/#content
You can always raise events from the JavaScript code using b4j_raiseEvent. Example: https://www.b4x.com/android/forum/threads/webapp-custom-elements-datepicker-dialogs.39885/#content