Handling of touch events in a browser environment
First Claim
1. A method, comprising:
- receiving a webpage at an electronic device;
determining whether a touch event handling property is defined for the webpage;
receiving a touch event at the electronic device while the webpage is displayed in a browser environment executing on the electronic device;
when the touch event handling property is not defined for the webpage, or when the touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions included with the browser environment are permitted,if a default handling function is available to handle the touch event, handling the touch event with the default handling function;
if a default handling function is not available to handle the touch event and a script or other webpage-defined event handler is provided with the webpage to handle the touch event, executing the script or other webpage-defined event handler to handle the touch event;
when the touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions are not permitted, executing the script or other webpage-defined event handler to handle the touch event, if the script or other webpage-defined event handler is provided for the webpage.
7 Assignments
0 Petitions
Accused Products
Abstract
Properties defining modes for handling user events such as cursor events and touch events on a computing device such as a touchscreen device are provided. One property determines, for an entire webpage or for elements thereof, whether received cursor events should be processed in accordance with default handling routines configured in the browser environment, or passed for handling by an event handler defined for the element. Another property determines, for the entire webpage or elements thereof, whether received touch events should be processed in accordance with default handling routines, passed for handling by an event handler, or converted to cursor events or mouse events for handling by an event handler.
45 Citations
20 Claims
-
1. A method, comprising:
-
receiving a webpage at an electronic device; determining whether a touch event handling property is defined for the webpage; receiving a touch event at the electronic device while the webpage is displayed in a browser environment executing on the electronic device; when the touch event handling property is not defined for the webpage, or when the touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions included with the browser environment are permitted, if a default handling function is available to handle the touch event, handling the touch event with the default handling function; if a default handling function is not available to handle the touch event and a script or other webpage-defined event handler is provided with the webpage to handle the touch event, executing the script or other webpage-defined event handler to handle the touch event; when the touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions are not permitted, executing the script or other webpage-defined event handler to handle the touch event, if the script or other webpage-defined event handler is provided for the webpage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An electronic device, including:
-
a touchscreen display interface for receiving touch events; and a processor in communication with the touchscreen display interface, the processor being configured to enable; receiving a webpage; determining whether a first touch event handling property is defined for the webpage; receiving a touch event while the webpage is displayed in a browser environment executing on the electronic device; when the first touch event handling property is not defined for the webpage, or when the first touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions included with the browser environment are permitted, if a default handling function is available to handle the touch event, handle the touch event with the default handling function; if a default handling function is not available to handle the touch event and a script or other webpage-defined event handler is provided with the webpage to handle the touch event, execute the script or other webpage-defined event handler to handle the touch event; when the first touch event handling property is defined for the webpage and is assigned a value indicating that default handling functions are not permitted, execute the script or other webpage-defined event handler to handle the touch event, if the script or other webpage-defined event handler is provided for the webpage. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification