HTMLIFrameElement.addNextPaintListener()HTMLIFrameElement.clearMatch()HTMLIFrameElement.download()HTMLIFrameElement.executeScript()HTMLIFrameElement.findAll()HTMLIFrameElement.findNext()HTMLIFrameElement.getActive()HTMLIFrameElement.getCanGoBack()HTMLIFrameElement.getCanGoForward()HTMLIFrameElement.getContentDimensions()HTMLIFrameElement.getMainfest()HTMLIFrameElement.getMuted()HTMLIFrameElement.getScreenshot()HTMLIFrameElement.getStructuredData()HTMLIFrameElement.goBack()HTMLIFrameElement.goForward()HTMLIFrameElement.getVisible()HTMLIFrameElement.getVolume()HTMLIFrameElement.mute()HTMLIFrameElement.purgeHistory()HTMLIFrameElement.reload()HTMLIFrameElement.removeNextPaintListener()HTMLIFrameElement.sendMouseEvent()HTMLIFrameElement.sendTouchEvent()HTMLIFrameElement.setActive()HTMLIFrameElement.setInputMethodActive()HTMLIFrameElement.setNFCFocus()HTMLIFrameElement.setVisible()HTMLIFrameElement.setVolume()HTMLIFrameElement.stop()HTMLIFrameElement.unmute()HTMLIFrameElement.zoom()mozbrowseractivitydonemozbrowserasyncscrollmozbrowseraudioplaybackchangemozbrowsercaretstatechangedmozbrowserclosemozbrowsercontextmenumozbrowserdocumentfirstpaintmozbrowsererrormozbrowserfindchangemozbrowserfirstpaintmozbrowsericonchangemozbrowserloadendmozbrowserloadstartmozbrowserlocationchangemozbrowsermanifestchangemozbrowsermetachangemozbrowseropensearchmozbrowseropentabmozbrowseropenwindowmozbrowserresizemozbrowserscrollmozbrowserscrollareachangedmozbrowserscrollviewchangemozbrowsersecuritychangemozbrowserselectionstatechangedmozbrowsershowmodalpromptmozbrowsertitlechangemozbrowserusernameandpasswordrequiredmozbrowservisibilitychangeWarning: Removed in Firefox 65.
The sendTouchEvent() method of the HTMLIFrameElement allows you to fake a touch event and send it to the browser <iframe>'s content.
Note: This method is available for touch-enabled devices only.
instanceOfHTMLIframeElement.sendTouchEvent(type, x, y, rx, ry,
rotationAngles, forces,
count, modifiers);
Void.
typetouchstart, touchend, touchmove, or touchcancel.x<iframe>'s visible area in CSS pixels.y<iframe>'s visible area in CSS pixels.rxryrotationAnglesforcescountmodifiers1 : Alt2 : Ctrl4 : Shift8 : Meta16 : Alt Gr32 : Caps Lock64 : Fn128 : Num Lock256 : Scroll512 : Symbol Lock1024 : WinNote: You can specify multiple key modifiers separated by a pipe symbol, for example 1 | 1014.
var browser = document.querySelector('iframe');
browser.sendTouchEvent("touchstart", [1], [x], [y], [2], [2],
[20], [0.5], 1, 0);
Not part of any specification.
Supported since Firefox 47, in chrome code only. Removed completely in Firefox 65.
Unlikely ever to be supported in other browsers.