发明名称 |
Touch event model programming interface |
摘要 |
A method includes receiving a document from a server, where the document includes an embedded script. The method also includes rendering and displaying the document at an electronic device and executing the embedded script. The method furthermore includes establishing a touchevent interface object that includes a plurality of touchlists, and upon detecting one or more touches on the touch-sensitive surface, updating the touchevent interface object with touch data, including values in two or more of the touchlists. The method includes further executing the embedded script in accordance with the values in at least one of the two or more touchlists. |
申请公布号 |
US8836652(B2) |
申请公布日期 |
2014.09.16 |
申请号 |
US201113163624 |
申请日期 |
2011.06.17 |
申请人 |
Apple Inc. |
发明人 |
Williamson Richard;Boisinga Gregory Dennis;Omernick Tim |
分类号 |
G06F3/041;G06F3/01;G06F17/30;G06F3/0488 |
主分类号 |
G06F3/041 |
代理机构 |
Morrison & Foerster LLP |
代理人 |
Morrison & Foerster LLP |
主权项 |
1. A method performed at an electronic device with a touch-sensitive surface, the method comprising:
receiving a document from a server, the document including an embedded script; rendering and displaying the document at the electronic device and executing the embedded script, including:
establishing a touchevent interface object that includes a plurality of touchlists; andupon detecting one or more touches on the touch-sensitive surface:
updating the touchevent interface object with touch data, including values in two or more of the touchlists; andfurther executing the embedded script in accordance with the values in at least one of the two or more touchlists, wherein: the touchevent interface object includes a plurality of distinct touchlists, a respective touchlist including two or more concurrent touches; and updating the touchevent interface object with touch data includes updating values in two or more of the touchlists. |
地址 |
Cupertino CA US |