Search completed in 1.48 seconds.
12 results for "ontouchstart":
GlobalEventHandlers.ontouchstart - Web APIs
WebAPIGlobalEventHandlersontouchstart
the ontouchstart property of the globaleventhandlers mixin is an eventhandler that processes touchstart events.
... syntax var starthandler = someelement.ontouchstart; return value starthandler the touchstart event handler for element someelement.
... example this example shows two ways to use ontouchstart to set an element's touchstart event handler.
...And 2 more matches
Document - Web APIs
WebAPIDocument
globaleventhandlers.ontouchstart is an eventhandler representing the code to be called when the touchstart event is raised.
... also available via the ontouchstart property transition events transitioncancel fired when a css transition is canceled.
TouchEvent - Web APIs
WebAPITouchEvent
globaleventhandlers.ontouchstart a global event handler for the touchstart event.
... draft added ontouchstart, ontouchend, ontouchmove, ontouchend global attribute handlers touch eventsthe definition of 'touchevent' in that specification.
Mobile accessibility - Learn web development
LearnAccessibilityMobile
this occurs because we are using code such as the following: div.onmousedown = function() { initialboxx = div.offsetleft; initialboxy = div.offsettop; movepanel(); } document.onmouseup = stopmove; to enable other forms of control, you need to use different, yet equivalent events — for example, touch events work on touchscreen devices: div.ontouchstart = function(e) { initialboxx = div.offsetleft; initialboxy = div.offsettop; positionhandler(e); movepanel(); } panel.ontouchend = stopmove; we've provided a simple example that shows how to use the mouse and touch events together — see multi-control-box-drag.html (see the example live also).
Document: touchstart event - Web APIs
WebAPIDocumenttouchstart event
bubbles yes cancelable yes interface touchevent event handler property ontouchstart examples code samples for those events are available on the dedicated page: touch events.
Element: touchstart event - Web APIs
WebAPIElementtouchstart event
bubbles yes cancelable yes interface touchevent event handler property ontouchstart examples code samples for those events are available on the dedicated page: touch events.
Element - Web APIs
WebAPIElement
also available via the ontouchstart property specifications specification status comment css pseudo-elements level 4the definition of 'element' in that specification.
GlobalEventHandlers - Web APIs
WebAPIGlobalEventHandlers
globaleventhandlers.ontouchstart is an eventhandler representing the code to be called when the touchstart event is raised.
HTMLElement - Web APIs
WebAPIHTMLElement
toucheventhandlers.ontouchstart returns the event handling code for the touchstart event.
Index - Web APIs
WebAPIIndex
1546 globaleventhandlers.ontouchstart api, event handler, experimental, globaleventhandlers, html dom, property, reference the ontouchstart property of the globaleventhandlers mixin is an eventhandler that processes touchstart events.
Multi-touch interaction - Web APIs
WebAPITouch eventsMulti-touch interaction
function set_handlers(name) { // install event handlers for the given element var el=document.getelementbyid(name); el.ontouchstart = start_handler; el.ontouchmove = move_handler; // use same handler for touchcancel and touchend el.ontouchcancel = end_handler; el.ontouchend = end_handler; } function init() { set_handlers("target1"); set_handlers("target2"); set_handlers("target3"); set_handlers("target4"); } move/pinch/zoom handler this function provides very basic support for 2-touch horizontal move/pinch/zoom ha...
touchstart - Event reference
WebEventstouchstart
element: touchstart document: touchstart bubbles yes cancelable yes interface touchevent event handler property ontouchstart specifications specification status touch events recommendation ...