Not exactly. The iPhone webkit still sends "mouse events" and you can listen for them. What may not be obvious at first is how the touch gestures map to these events. For the most part, they have done a reasonable job of mapping from gesture to "mouse event". (If w3 had been a little more forward-thinking they might have abstracted the event names away from the gesture names for HTML 5.)
See: http://www.quirksmode.org/dom/events/#t015 for details on how touch gestures map to "mouse events". On 2010-03-26, at 15:30, Max Carlson wrote: > Touch interfaces (like the iPhone) generally don't have the concept of > mouseover/out because there is no cursor. Mousedown/up should be supported > (please file a bug at http://jira.openlaszlo.org/) but there needs to be a > third type of event (onmousestilldown) that can be used to trigger drag > events. > > I filed an improvement here to add/adapt a richer event set offered by touch > devices including the iPhone: > http://jira.openlaszlo.org/jira/browse/LPP-8851 > > Regards, > Max Carlson > OpenLaszlo.org > > On 3/26/10 7:12 AM, ason wrote: >> Hi all, >> >> I am developing iPhone Apps using OpenLaszlo. >> >> I have noticed that some events are not available. >> onmousedown,onmouseup, onmouseover,onmouseout, for example. >> So, I can not use drag-and-drop components, like<window> and<slider>. >> And resizable views too. >> >> The event I can use is onclick only. >> >> Can I use onmousedown or onmouseover to make draggable views and >> resizable ones on iPhone? >> I am using OpenLaszlo4.7.1/dhtml >> >> -- >> Best regards, >> minamotonoason(ason) >> http://www.openlaszlo-ason.com/ >> Japan
