The contentWindow
read-only property of the HTMLObjectElement
interface returns a WindowProxy representing the window proxy of the object element's nested browsing context, if any; otherwise null.
The contentWindow
read-only property of the HTMLObjectElement
interface returns a WindowProxy representing the window proxy of the object element's nested browsing context, if any; otherwise null.
A Window
, or null
if there are none.
Specification |
---|
HTML Standard # dom-object-contentwindow |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
contentWindow |
53 | 17 | 22 | No | 40 | 13 | 53 | 53 | 22 | 41 | 13 | 6.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentWindow