web api interface
HTMLFrameSetElement
The HTMLFrameSetElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> elements.
Instance properties
Inherits properties from its parent, HTMLElement.
colsDeprecated- : A string structured as a comma-separated list specifying the width of each column inside a frameset.
rowsDeprecated- : A string structured as a comma-separated list specifying the height of each column inside a frameset.
Instance methods
No specific method; inherits methods from its parent, HTMLElement.
Event handlers
The HTMLElement events are inherited.
The following Window onXYZ event handler properties are also available as aliases targeting the window object. However, it is advised to listen to them on the window object directly rather than on HTMLFrameSetElement.
[!NOTE] Using
addEventListener()onHTMLFrameSetElementwill not work for theonXYZevent handlers listed below. Listen to the events on thewindowobject instead.
HTMLFrameSetElement.onafterprint- : Fired after the associated document has started printing or the print preview has been closed.
HTMLFrameSetElement.onbeforeprint- : Fired when the associated document is about to be printed or previewed for printing.
HTMLFrameSetElement.onbeforeunload- : Fired when the window, the document and its resources are about to be unloaded.
HTMLFrameSetElement.ongamepadconnected- : Fired when the browser detects that a gamepad has been connected or the first time a button/axis of the gamepad is used.
HTMLFrameSetElement.ongamepaddisconnected- : Fired when the browser detects that a gamepad has been disconnected.
HTMLFrameSetElement.onhashchange- : Fired when the fragment identifier of the URL has changed (the part of the URL beginning with and following the
#symbol).
- : Fired when the fragment identifier of the URL has changed (the part of the URL beginning with and following the
HTMLFrameSetElement.onlanguagechange- : Fired when the user’s preferred language changes.
HTMLFrameSetElement.onmessage- : Fired when the window receives a message, for example from a call to
Window.postMessage()from another browsing context.
- : Fired when the window receives a message, for example from a call to
HTMLFrameSetElement.onmessageerror- : Fired when the window receives a message that can’t be deserialized.
HTMLFrameSetElement.onoffline- : Fired when the browser has lost access to the network and the value of
onLineswitches tofalse.
- : Fired when the browser has lost access to the network and the value of
HTMLFrameSetElement.ononline- : Fired when the browser has gained access to the network and the value of
onLineswitches totrue.
- : Fired when the browser has gained access to the network and the value of
HTMLFrameSetElement.onpagehide- : Fired when the browser hides the current page in the process of presenting a different page from the session’s history.
HTMLFrameSetElement.onpageshow- : Fired when the browser displays the window’s document due to navigation.
HTMLFrameSetElement.onpopstate- : Fired when the active history entry changes while the user navigates the session history.
HTMLFrameSetElement.onrejectionhandled- : Fired whenever a JavaScript
Promiseis rejected and the rejection has been handled.
- : Fired whenever a JavaScript
HTMLFrameSetElement.onstorage- : Fired when a storage area (
localStorage) has been modified in the context of another document.
- : Fired when a storage area (
HTMLFrameSetElement.onunhandledrejection- : Fired whenever a
Promiseis rejected but the rejection was not handled.
- : Fired whenever a
HTMLFrameSetElement.onunload- : Fired when the document is being unloaded.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
- HTML element implementing this interface:
<frameset> - The equivalent of this element outside of frames:
HTMLFrameSetElement.