repo_id
stringlengths
22
103
file_path
stringlengths
41
147
content
stringlengths
181
193k
__index_level_0__
int64
0
0
data/mdn-content/files/en-us/web/api/htmlcollection
data/mdn-content/files/en-us/web/api/htmlcollection/length/index.md
--- title: "HTMLCollection: length property" short-title: length slug: Web/API/HTMLCollection/length page-type: web-api-instance-property browser-compat: api.HTMLCollection.length --- {{APIRef("DOM")}} The **`HTMLCollection.length`** property returns the number of items in a {{domxref("HTMLCollection")}}. ## Value ...
0
data/mdn-content/files/en-us/web/api/htmlcollection
data/mdn-content/files/en-us/web/api/htmlcollection/item/index.md
--- title: "HTMLCollection: item() method" short-title: item() slug: Web/API/HTMLCollection/item page-type: web-api-instance-method browser-compat: api.HTMLCollection.item --- {{APIRef("HTML DOM")}} The {{domxref("HTMLCollection")}} method `item()` returns the element located at the specified offset into the collecti...
0
data/mdn-content/files/en-us/web/api/htmlcollection
data/mdn-content/files/en-us/web/api/htmlcollection/nameditem/index.md
--- title: "HTMLCollection: namedItem() method" short-title: namedItem() slug: Web/API/HTMLCollection/namedItem page-type: web-api-instance-method browser-compat: api.HTMLCollection.namedItem --- {{APIRef("DOM")}} The **`namedItem()`** method of the {{domxref("HTMLCollection")}} interface returns the first {{domxref(...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/svgfespecularlightingelement/index.md
--- title: SVGFESpecularLightingElement slug: Web/API/SVGFESpecularLightingElement page-type: web-api-interface browser-compat: api.SVGFESpecularLightingElement --- {{APIRef("SVG")}} The **`SVGFESpecularLightingElement`** interface corresponds to the {{SVGElement("feSpecularLighting")}} element. {{InheritanceDiagram...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/ndefreader/index.md
--- title: NDEFReader slug: Web/API/NDEFReader page-type: web-api-interface status: - experimental browser-compat: api.NDEFReader --- {{SecureContext_Header}}{{SeeCompatTable}}{{APIRef("Web NFC API")}} The **`NDEFReader`** interface of the [Web NFC API](/en-US/docs/Web/API/Web_NFC_API) is used to read from and writ...
0
data/mdn-content/files/en-us/web/api/ndefreader
data/mdn-content/files/en-us/web/api/ndefreader/scan/index.md
--- title: "NDEFReader: scan() method" short-title: scan() slug: Web/API/NDEFReader/scan page-type: web-api-instance-method status: - experimental browser-compat: api.NDEFReader.scan --- {{SecureContext_Header}}{{SeeCompatTable}}{{APIRef("Web NFC API")}} The `scan()` method of the {{DOMxRef("NDEFReader")}} interfac...
0
data/mdn-content/files/en-us/web/api/ndefreader
data/mdn-content/files/en-us/web/api/ndefreader/reading_event/index.md
--- title: "NDEFReader: reading event" short-title: reading slug: Web/API/NDEFReader/reading_event page-type: web-api-event status: - experimental browser-compat: api.NDEFReader.reading_event --- {{SecureContext_Header}}{{SeeCompatTable}}{{APIRef("Web NFC API")}} The `reading` event of the {{DOMxRef("NDEFReader")}}...
0
data/mdn-content/files/en-us/web/api/ndefreader
data/mdn-content/files/en-us/web/api/ndefreader/write/index.md
--- title: "NDEFReader: write() method" short-title: write() slug: Web/API/NDEFReader/write page-type: web-api-instance-method status: - experimental browser-compat: api.NDEFReader.write --- {{SecureContext_Header}}{{SeeCompatTable}}{{APIRef("Web NFC API")}} The `write()` method of the {{DOMxRef("NDEFReader")}} int...
0
data/mdn-content/files/en-us/web/api/ndefreader
data/mdn-content/files/en-us/web/api/ndefreader/ndefreader/index.md
--- title: "NDEFReader: NDEFReader() constructor" short-title: NDEFReader() slug: Web/API/NDEFReader/NDEFReader page-type: web-api-constructor status: - experimental browser-compat: api.NDEFReader.NDEFReader --- {{SecureContext_Header}}{{APIRef("Web NFC API")}}{{SeeCompatTable}} The **`NDEFReader()`** constructor o...
0
data/mdn-content/files/en-us/web/api/ndefreader
data/mdn-content/files/en-us/web/api/ndefreader/readingerror_event/index.md
--- title: "NDEFReader: readingerror event" short-title: readingerror slug: Web/API/NDEFReader/readingerror_event page-type: web-api-event status: - experimental browser-compat: api.NDEFReader.readingerror_event --- {{SecureContext_Header}}{{SeeCompatTable}}{{APIRef("Web NFC API")}} The `readingerror` event of the ...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/svggraphicselement/index.md
--- title: SVGGraphicsElement slug: Web/API/SVGGraphicsElement page-type: web-api-interface browser-compat: api.SVGGraphicsElement --- {{APIRef("SVG")}} The **`SVGGraphicsElement`** interface represents SVG elements whose primary purpose is to directly render graphics into a group. {{InheritanceDiagram}} ## Instanc...
0
data/mdn-content/files/en-us/web/api/svggraphicselement
data/mdn-content/files/en-us/web/api/svggraphicselement/copy_event/index.md
--- title: "SVGGraphicsElement: copy event" short-title: copy slug: Web/API/SVGGraphicsElement/copy_event page-type: web-api-event browser-compat: api.Element.copy_event --- {{APIRef("SVG")}} The **`copy`** event fires on {{domxref("SVGGraphicsElement", "SVGGraphicsElements")}} when the user initiates a copy action t...
0
data/mdn-content/files/en-us/web/api/svggraphicselement
data/mdn-content/files/en-us/web/api/svggraphicselement/cut_event/index.md
--- title: "SVGGraphicsElement: cut event" short-title: cut slug: Web/API/SVGGraphicsElement/cut_event page-type: web-api-event browser-compat: api.Element.cut_event --- {{APIRef("SVG")}} The **`cut`** event is fired on an {{domxref("SVGGraphicsElement")}} when the user has initiated a "cut" action through the browse...
0
data/mdn-content/files/en-us/web/api/svggraphicselement
data/mdn-content/files/en-us/web/api/svggraphicselement/getbbox/index.md
--- title: "SVGGraphicsElement: getBBox() method" short-title: getBBox() slug: Web/API/SVGGraphicsElement/getBBox page-type: web-api-instance-method browser-compat: api.SVGGraphicsElement.getBBox --- {{APIRef("SVG")}} The **`SVGGraphicsElement.getBBox()`** method allows us to determine the coordinates of the smallest...
0
data/mdn-content/files/en-us/web/api/svggraphicselement
data/mdn-content/files/en-us/web/api/svggraphicselement/paste_event/index.md
--- title: "SVGGraphicsElement: paste event" short-title: paste slug: Web/API/SVGGraphicsElement/paste_event page-type: web-api-event browser-compat: api.Element.paste_event --- {{APIRef("SVG")}} The **`paste`** event is fired on an {{domxref("SVGGraphicsElement")}} when the user has initiated a "paste" action throug...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/windowclient/index.md
--- title: WindowClient slug: Web/API/WindowClient page-type: web-api-interface browser-compat: api.WindowClient --- {{APIRef("Service Workers API")}} The `WindowClient` interface of the [ServiceWorker API](/en-US/docs/Web/API/Service_Worker_API) represents the scope of a service worker client that is a document in a...
0
data/mdn-content/files/en-us/web/api/windowclient
data/mdn-content/files/en-us/web/api/windowclient/focus/index.md
--- title: "WindowClient: focus() method" short-title: focus() slug: Web/API/WindowClient/focus page-type: web-api-instance-method browser-compat: api.WindowClient.focus --- {{APIRef("Service Workers API")}} The **`focus()`** method of the {{domxref("WindowClient")}} interface gives user input focus to the current cl...
0
data/mdn-content/files/en-us/web/api/windowclient
data/mdn-content/files/en-us/web/api/windowclient/focused/index.md
--- title: "WindowClient: focused property" short-title: focused slug: Web/API/WindowClient/focused page-type: web-api-instance-property browser-compat: api.WindowClient.focused --- {{APIRef("Service Workers API")}} The **`focused`** read-only property of the {{domxref("WindowClient")}} interface is a boolean value t...
0
data/mdn-content/files/en-us/web/api/windowclient
data/mdn-content/files/en-us/web/api/windowclient/ancestororigins/index.md
--- title: "WindowClient: ancestorOrigins property" short-title: ancestorOrigins slug: Web/API/WindowClient/ancestorOrigins page-type: web-api-instance-property status: - experimental browser-compat: api.WindowClient.ancestorOrigins --- {{APIRef("Service Workers API")}}{{SeeCompatTable}} The **`ancestorOrigins`** r...
0
data/mdn-content/files/en-us/web/api/windowclient
data/mdn-content/files/en-us/web/api/windowclient/visibilitystate/index.md
--- title: "WindowClient: visibilityState property" short-title: visibilityState slug: Web/API/WindowClient/visibilityState page-type: web-api-instance-property browser-compat: api.WindowClient.visibilityState --- {{APIRef("Service Workers API")}} The **`visibilityState`** read-only property of the {{domxref("WindowC...
0
data/mdn-content/files/en-us/web/api/windowclient
data/mdn-content/files/en-us/web/api/windowclient/navigate/index.md
--- title: "WindowClient: navigate() method" short-title: navigate() slug: Web/API/WindowClient/navigate page-type: web-api-instance-method browser-compat: api.WindowClient.navigate --- {{APIRef("Service Workers API")}} The **`navigate()`** method of the {{domxref("WindowClient")}} interface loads a specified URL int...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/cssfontfeaturevaluesrule/index.md
--- title: CSSFontFeatureValuesRule slug: Web/API/CSSFontFeatureValuesRule page-type: web-api-interface browser-compat: api.CSSFontFeatureValuesRule --- {{APIRef("CSSOM")}} The **`CSSFontFeatureValuesRule`** interface represents an {{cssxref("@font-feature-values")}} [at-rule](/en-US/docs/Web/CSS/At-rule), letting de...
0
data/mdn-content/files/en-us/web/api/cssfontfeaturevaluesrule
data/mdn-content/files/en-us/web/api/cssfontfeaturevaluesrule/fontfamily/index.md
--- title: "CSSFontFeatureValuesRule: fontFamily property" short-title: fontFamily slug: Web/API/CSSFontFeatureValuesRule/fontFamily page-type: web-api-instance-property browser-compat: api.CSSFontFeatureValuesRule.fontFamily --- {{ APIRef("CSSOM") }} The **`fontFamily`** property of the {{domxref("CSSConditionRule")...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/domstringlist/index.md
--- title: DOMStringList slug: Web/API/DOMStringList page-type: web-api-interface browser-compat: api.DOMStringList --- {{APIRef("DOM")}} The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (`DOMString`). Modern APIs use {{jsxref("Array")}} objects ...
0
data/mdn-content/files/en-us/web/api/domstringlist
data/mdn-content/files/en-us/web/api/domstringlist/length/index.md
--- title: "DOMStringList: length property" short-title: length slug: Web/API/DOMStringList/length page-type: web-api-instance-property browser-compat: api.DOMStringList.length --- {{APIRef("DOM")}} The read-only **`length`** property indicates the number of strings in the {{domxref("DOMStringList")}}. ## Value A {...
0
data/mdn-content/files/en-us/web/api/domstringlist
data/mdn-content/files/en-us/web/api/domstringlist/item/index.md
--- title: "DOMStringList: item() method" short-title: item() slug: Web/API/DOMStringList/item page-type: web-api-instance-method browser-compat: api.DOMStringList.item --- {{APIRef("DOM")}} The **`item()`** method returns a string from a [`DOMStringList`](/en-US/docs/Web/API/DOMStringList) by index. ## Syntax ```j...
0
data/mdn-content/files/en-us/web/api/domstringlist
data/mdn-content/files/en-us/web/api/domstringlist/contains/index.md
--- title: "DOMStringList: contains() method" short-title: contains() slug: Web/API/DOMStringList/contains page-type: web-api-instance-method browser-compat: api.DOMStringList.contains --- {{APIRef("DOM")}} The **`contains()`** method returns a boolean indicating whether the given string is in the list. ## Syntax `...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/htmlpictureelement/index.md
--- title: HTMLPictureElement slug: Web/API/HTMLPictureElement page-type: web-api-interface browser-compat: api.HTMLPictureElement --- {{APIRef("HTML DOM")}} The **`HTMLPictureElement`** interface represents a {{HTMLElement("picture")}} HTML element. It doesn't implement specific properties or methods. {{Inheritance...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/xrviewport/index.md
--- title: XRViewport slug: Web/API/XRViewport page-type: web-api-interface browser-compat: api.XRViewport --- {{APIRef("WebXR Device API")}}{{SecureContext_Header}} The WebXR Device API's **`XRViewport`** interface provides properties used to describe the size and position of the current viewport within the {{domxre...
0
data/mdn-content/files/en-us/web/api/xrviewport
data/mdn-content/files/en-us/web/api/xrviewport/y/index.md
--- title: "XRViewport: y property" short-title: "y" slug: Web/API/XRViewport/y page-type: web-api-instance-property browser-compat: api.XRViewport.y --- {{APIRef("WebXR Device API")}}{{SecureContext_Header}} The read-only {{domxref("XRViewport")}} interface's **`y`** property indicates the offset from the bottom edg...
0
data/mdn-content/files/en-us/web/api/xrviewport
data/mdn-content/files/en-us/web/api/xrviewport/x/index.md
--- title: "XRViewport: x property" short-title: x slug: Web/API/XRViewport/x page-type: web-api-instance-property browser-compat: api.XRViewport.x --- {{APIRef("WebXR Device API")}}{{SecureContext_Header}} The read-only {{domxref("XRViewport")}} interface's **`x`** property indicates the offset from the left edge of...
0
data/mdn-content/files/en-us/web/api/xrviewport
data/mdn-content/files/en-us/web/api/xrviewport/width/index.md
--- title: "XRViewport: width property" short-title: width slug: Web/API/XRViewport/width page-type: web-api-instance-property browser-compat: api.XRViewport.width --- {{APIRef("WebXR Device API")}}{{SecureContext_Header}} The read-only {{domxref("XRViewport")}} property **`width`** specifies the width of the viewpor...
0
data/mdn-content/files/en-us/web/api/xrviewport
data/mdn-content/files/en-us/web/api/xrviewport/height/index.md
--- title: "XRViewport: height property" short-title: height slug: Web/API/XRViewport/height page-type: web-api-instance-property browser-compat: api.XRViewport.height --- {{APIRef("WebXR Device API")}}{{SecureContext_Header}} The read-only {{domxref("XRViewport")}} property **`height`** specifies the height, in pixe...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/positionsensorvrdevice/index.md
--- title: PositionSensorVRDevice slug: Web/API/PositionSensorVRDevice page-type: web-api-interface status: - deprecated - non-standard browser-compat: api.PositionSensorVRDevice --- {{APIRef("WebVR API")}}{{Deprecated_Header}}{{Non-standard_Header}} The **`PositionSensorVRDevice`** interface of the [WebVR API](/...
0
data/mdn-content/files/en-us/web/api/positionsensorvrdevice
data/mdn-content/files/en-us/web/api/positionsensorvrdevice/resetsensor/index.md
--- title: "PositionSensorVRDevice: resetSensor() method" short-title: resetSensor() slug: Web/API/PositionSensorVRDevice/resetSensor page-type: web-api-instance-method status: - deprecated - non-standard browser-compat: api.PositionSensorVRDevice.resetSensor --- {{deprecated_header}}{{APIRef("WebVR API")}}{{Non-s...
0
data/mdn-content/files/en-us/web/api/positionsensorvrdevice
data/mdn-content/files/en-us/web/api/positionsensorvrdevice/getimmediatestate/index.md
--- title: "PositionSensorVRDevice: getImmediateState() method" short-title: getImmediateState() slug: Web/API/PositionSensorVRDevice/getImmediateState page-type: web-api-instance-method status: - deprecated - non-standard browser-compat: api.PositionSensorVRDevice.getImmediateState --- {{deprecated_header}}{{APIR...
0
data/mdn-content/files/en-us/web/api/positionsensorvrdevice
data/mdn-content/files/en-us/web/api/positionsensorvrdevice/getstate/index.md
--- title: "PositionSensorVRDevice: getState() method" short-title: getState() slug: Web/API/PositionSensorVRDevice/getState page-type: web-api-instance-method status: - deprecated - non-standard browser-compat: api.PositionSensorVRDevice.getState --- {{deprecated_header}}{{APIRef("WebVR API")}}{{Non-standard_head...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/storage/index.md
--- title: Storage slug: Web/API/Storage page-type: web-api-interface browser-compat: api.Storage --- {{APIRef("Web Storage API")}} The **`Storage`** interface of the [Web Storage API](/en-US/docs/Web/API/Web_Storage_API) provides access to a particular domain's session or local storage. It allows, for example, the a...
0
data/mdn-content/files/en-us/web/api/storage
data/mdn-content/files/en-us/web/api/storage/removeitem/index.md
--- title: "Storage: removeItem() method" short-title: removeItem() slug: Web/API/Storage/removeItem page-type: web-api-instance-method browser-compat: api.Storage.removeItem --- {{APIRef("Web Storage API")}} The **`removeItem()`** method of the {{domxref("Storage")}} interface, when passed a key name, will remove th...
0
data/mdn-content/files/en-us/web/api/storage
data/mdn-content/files/en-us/web/api/storage/length/index.md
--- title: "Storage: length property" short-title: length slug: Web/API/Storage/length page-type: web-api-instance-property browser-compat: api.Storage.length --- {{APIRef("Web Storage API")}} The **`length`** read-only property of the {{domxref("Storage")}} interface returns the number of data items stored in a give...
0
data/mdn-content/files/en-us/web/api/storage
data/mdn-content/files/en-us/web/api/storage/clear/index.md
--- title: "Storage: clear() method" short-title: clear() slug: Web/API/Storage/clear page-type: web-api-instance-method browser-compat: api.Storage.clear --- {{APIRef("Web Storage API")}} The **`clear()`** method of the {{domxref("Storage")}} interface clears all keys stored in a given `Storage` object. ## Syntax ...
0
data/mdn-content/files/en-us/web/api/storage
data/mdn-content/files/en-us/web/api/storage/setitem/index.md
--- title: "Storage: setItem() method" short-title: setItem() slug: Web/API/Storage/setItem page-type: web-api-instance-method browser-compat: api.Storage.setItem --- {{APIRef("Web Storage API")}} The **`setItem()`** method of the {{domxref("Storage")}} interface, when passed a key name and value, will add that key t...
0
data/mdn-content/files/en-us/web/api/storage
data/mdn-content/files/en-us/web/api/storage/getitem/index.md
--- title: "Storage: getItem() method" short-title: getItem() slug: Web/API/Storage/getItem page-type: web-api-instance-method browser-compat: api.Storage.getItem --- {{APIRef("Web Storage API")}} The **`getItem()`** method of the {{domxref("Storage")}} interface, when passed a key name, will return that key's value,...
0
data/mdn-content/files/en-us/web/api/storage
data/mdn-content/files/en-us/web/api/storage/key/index.md
--- title: "Storage: key() method" short-title: key() slug: Web/API/Storage/key page-type: web-api-instance-method browser-compat: api.Storage.key --- {{APIRef("Web Storage API")}} The **`key()`** method of the {{domxref("Storage")}} interface, when passed a number n, returns the name of the nth key in a given `Stora...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/federatedcredential/index.md
--- title: FederatedCredential slug: Web/API/FederatedCredential page-type: web-api-interface status: - experimental browser-compat: api.FederatedCredential --- {{SeeCompatTable}}{{APIRef("Credential Management API")}}{{SecureContext_Header}} The **`FederatedCredential`** interface of the [Credential Management API...
0
data/mdn-content/files/en-us/web/api/federatedcredential
data/mdn-content/files/en-us/web/api/federatedcredential/federatedcredential/index.md
--- title: "FederatedCredential: FederatedCredential() constructor" short-title: FederatedCredential() slug: Web/API/FederatedCredential/FederatedCredential page-type: web-api-constructor status: - experimental browser-compat: api.FederatedCredential.FederatedCredential --- {{APIRef("Credential Management API")}}{{S...
0
data/mdn-content/files/en-us/web/api/federatedcredential
data/mdn-content/files/en-us/web/api/federatedcredential/protocol/index.md
--- title: "FederatedCredential: protocol property" short-title: protocol slug: Web/API/FederatedCredential/protocol page-type: web-api-instance-property status: - experimental browser-compat: api.FederatedCredential.protocol --- {{SeeCompatTable}}{{APIRef("Credential Management API")}}{{securecontext_header}} The ...
0
data/mdn-content/files/en-us/web/api/federatedcredential
data/mdn-content/files/en-us/web/api/federatedcredential/provider/index.md
--- title: "FederatedCredential: provider property" short-title: provider slug: Web/API/FederatedCredential/provider page-type: web-api-instance-property status: - experimental browser-compat: api.FederatedCredential.provider --- {{SeeCompatTable}}{{APIRef("Credential Management API")}}{{SecureContext_Header}} The ...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/gravitysensor/index.md
--- title: GravitySensor slug: Web/API/GravitySensor page-type: web-api-interface browser-compat: api.GravitySensor --- {{securecontext_header}}{{APIRef("Sensor API")}} The **`GravitySensor`** interface of the [Sensor APIs](/en-US/docs/Web/API/Sensor_APIs) provides on each reading the gravity applied to the device al...
0
data/mdn-content/files/en-us/web/api/gravitysensor
data/mdn-content/files/en-us/web/api/gravitysensor/gravitysensor/index.md
--- title: "GravitySensor: GravitySensor() constructor" short-title: GravitySensor() slug: Web/API/GravitySensor/GravitySensor page-type: web-api-constructor browser-compat: api.GravitySensor.GravitySensor --- {{securecontext_header}}{{APIRef("Sensor API")}} The **`GravitySensor()`** constructor creates a new {{domxr...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/htmlmapelement/index.md
--- title: HTMLMapElement slug: Web/API/HTMLMapElement page-type: web-api-interface browser-compat: api.HTMLMapElement --- {{ APIRef("HTML DOM") }} The **`HTMLMapElement`** interface provides special properties and methods (beyond those of the regular object {{domxref("HTMLElement")}} interface it also has available ...
0
data/mdn-content/files/en-us/web/api/htmlmapelement
data/mdn-content/files/en-us/web/api/htmlmapelement/name/index.md
--- title: "HTMLMapElement: name property" short-title: name slug: Web/API/HTMLMapElement/name page-type: web-api-instance-property browser-compat: api.HTMLMapElement.name --- {{ApiRef("HTML DOM")}} The **`name`** property of the {{domxref("HTMLMapElement")}} represents the unique name `<map>` element. Its value can ...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/svguseelement/index.md
--- title: SVGUseElement slug: Web/API/SVGUseElement page-type: web-api-interface browser-compat: api.SVGUseElement --- {{APIRef("SVG")}} ## SVG use DOM interface The **`SVGUseElement`** interface corresponds to the {{SVGElement("use")}} element. {{InheritanceDiagram}} ## Instance properties _This interface also ...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/vttcue/index.md
--- title: VTTCue slug: Web/API/VTTCue page-type: web-api-interface browser-compat: api.VTTCue --- {{APIRef("WebVTT")}} The `VTTCue` interface—part of the API for handling WebVTT (text tracks on media presentations)—describes and controls the text track associated with a particular {{HTMLElement("track")}} element. ...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/snaptolines/index.md
--- title: "VTTCue: snapToLines property" short-title: snapToLines slug: Web/API/VTTCue/snapToLines page-type: web-api-instance-property browser-compat: api.VTTCue.snapToLines --- {{APIRef("WebVTT")}} The **`snapToLines`** property of the {{domxref("VTTCue")}} interface is a {{jsxref("Boolean")}} indicating if the {{...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/vertical/index.md
--- title: "VTTCue: vertical property" short-title: vertical slug: Web/API/VTTCue/vertical page-type: web-api-instance-property browser-compat: api.VTTCue.vertical --- {{APIRef("WebVTT")}} The **`vertical`** property of the {{domxref("VTTCue")}} interface is a string representing the cue's writing direction. ## Valu...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/position/index.md
--- title: "VTTCue: position property" short-title: position slug: Web/API/VTTCue/position page-type: web-api-instance-property browser-compat: api.VTTCue.position --- {{APIRef("WebVTT")}} The **`position`** property of the {{domxref("VTTCue")}} interface represents the indentation of the cue within the line. ## Val...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/region/index.md
--- title: "VTTCue: region property" short-title: region slug: Web/API/VTTCue/region page-type: web-api-instance-property browser-compat: api.VTTCue.region --- {{APIRef("WebVTT")}} The **`region`** property of the {{domxref("VTTCue")}} interface returns and sets the {{domxref("VTTRegion")}} that this cue belongs to. ...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/linealign/index.md
--- title: "VTTCue: lineAlign property" short-title: lineAlign slug: Web/API/VTTCue/lineAlign page-type: web-api-instance-property browser-compat: api.VTTCue.lineAlign --- {{APIRef("WebVTT")}} The **`lineAlign`** property of the {{domxref("VTTCue")}} interface represents the alignment of this VTT cue. ## Value A st...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/text/index.md
--- title: "VTTCue: text property" short-title: text slug: Web/API/VTTCue/text page-type: web-api-instance-property browser-compat: api.VTTCue.text --- {{APIRef("WebVTT")}} The **`text`** property of the {{domxref("VTTCue")}} interface represents the text contents of the cue. ## Value A string containing the raw te...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/size/index.md
--- title: "VTTCue: size property" short-title: size slug: Web/API/VTTCue/size page-type: web-api-instance-property browser-compat: api.VTTCue.size --- {{APIRef("WebVTT")}} The **`size`** property of the {{domxref("VTTCue")}} interface represents the size of the cue as a percentage of the video size. ## Value A num...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/positionalign/index.md
--- title: "VTTCue: positionAlign property" short-title: positionAlign slug: Web/API/VTTCue/positionAlign page-type: web-api-instance-property browser-compat: api.VTTCue.positionAlign --- {{APIRef("WebVTT")}} The **`positionAlign`** property of the {{domxref("VTTCue")}} interface is used to determine what {{domxref("...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/vttcue/index.md
--- title: "VTTCue: VTTCue() constructor" short-title: VTTCue() slug: Web/API/VTTCue/VTTCue page-type: web-api-constructor browser-compat: api.VTTCue.VTTCue --- {{APIRef("WebVTT")}} The **`VTTCue()`** constructor creates and returns a new {{domxref("VTTCue")}} object. ## Syntax ```js-nolint new VTTCue(startTime, en...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/getcueashtml/index.md
--- title: "VTTCue: getCueAsHTML() method" short-title: getCueAsHTML() slug: Web/API/VTTCue/getCueAsHTML page-type: web-api-instance-method browser-compat: api.VTTCue.getCueAsHTML --- {{APIRef("WebVTT")}} The **`getCueAsHTML()`** method of the {{domxref("VTTCue")}} interface returns a {{domxref("DocumentFragment")}} ...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/line/index.md
--- title: "VTTCue: line property" short-title: line slug: Web/API/VTTCue/line page-type: web-api-instance-property browser-compat: api.VTTCue.line --- {{DefaultAPISidebar("")}} The **`line`** property of the {{domxref("VTTCue")}} interface represents the cue line of this WebVTT cue. ## Value A number, or `"auto"` ...
0
data/mdn-content/files/en-us/web/api/vttcue
data/mdn-content/files/en-us/web/api/vttcue/align/index.md
--- title: "VTTCue: align property" short-title: align slug: Web/API/VTTCue/align page-type: web-api-instance-property browser-compat: api.VTTCue.align --- {{APIRef("WebVTT")}} The **`align`** property of the {{domxref("VTTCue")}} interface represents the alignment of all of the lines of text in the text box. ## Val...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/htmldialogelement/index.md
--- title: HTMLDialogElement slug: Web/API/HTMLDialogElement page-type: web-api-interface browser-compat: api.HTMLDialogElement --- {{APIRef("HTML DOM")}} The **`HTMLDialogElement`** interface provides methods to manipulate {{HTMLElement("dialog")}} elements. It inherits properties and methods from the {{domxref("HTM...
0
data/mdn-content/files/en-us/web/api/htmldialogelement
data/mdn-content/files/en-us/web/api/htmldialogelement/showmodal/index.md
--- title: "HTMLDialogElement: showModal() method" short-title: showModal() slug: Web/API/HTMLDialogElement/showModal page-type: web-api-instance-method browser-compat: api.HTMLDialogElement.showModal --- {{ APIRef("HTML DOM") }} The **`showModal()`** method of the {{domxref("HTMLDialogElement")}} interface displays ...
0
data/mdn-content/files/en-us/web/api/htmldialogelement
data/mdn-content/files/en-us/web/api/htmldialogelement/close_event/index.md
--- title: "HTMLDialogElement: close event" short-title: close slug: Web/API/HTMLDialogElement/close_event page-type: web-api-event browser-compat: api.HTMLDialogElement.close_event --- {{ APIRef() }} The `close` event is fired on an `HTMLDialogElement` object when the {{htmlelement("dialog")}} it represents has been...
0
data/mdn-content/files/en-us/web/api/htmldialogelement
data/mdn-content/files/en-us/web/api/htmldialogelement/returnvalue/index.md
--- title: "HTMLDialogElement: returnValue property" short-title: returnValue slug: Web/API/HTMLDialogElement/returnValue page-type: web-api-instance-property browser-compat: api.HTMLDialogElement.returnValue --- {{ APIRef("HTML DOM") }} The **`returnValue`** property of the {{domxref("HTMLDialogElement")}} interface...
0
data/mdn-content/files/en-us/web/api/htmldialogelement
data/mdn-content/files/en-us/web/api/htmldialogelement/show/index.md
--- title: "HTMLDialogElement: show() method" short-title: show() slug: Web/API/HTMLDialogElement/show page-type: web-api-instance-method browser-compat: api.HTMLDialogElement.show --- {{ APIRef("HTML DOM") }} The **`show()`** method of the {{domxref("HTMLDialogElement")}} interface displays the dialog modelessly, i....
0
data/mdn-content/files/en-us/web/api/htmldialogelement
data/mdn-content/files/en-us/web/api/htmldialogelement/close/index.md
--- title: "HTMLDialogElement: close() method" short-title: close() slug: Web/API/HTMLDialogElement/close page-type: web-api-instance-method browser-compat: api.HTMLDialogElement.close --- {{ APIRef("HTML DOM") }} The **`close()`** method of the {{domxref("HTMLDialogElement")}} interface closes the {{htmlelement("dia...
0
data/mdn-content/files/en-us/web/api/htmldialogelement
data/mdn-content/files/en-us/web/api/htmldialogelement/open/index.md
--- title: "HTMLDialogElement: open property" short-title: open slug: Web/API/HTMLDialogElement/open page-type: web-api-instance-property browser-compat: api.HTMLDialogElement.open --- {{ APIRef("HTML DOM") }} The **`open`** property of the {{domxref("HTMLDialogElement")}} interface is a boolean value reflecting the ...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/gpuqueryset/index.md
--- title: GPUQuerySet slug: Web/API/GPUQuerySet page-type: web-api-interface status: - experimental browser-compat: api.GPUQuerySet --- {{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} The **`GPUQuerySet`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is used to record t...
0
data/mdn-content/files/en-us/web/api/gpuqueryset
data/mdn-content/files/en-us/web/api/gpuqueryset/destroy/index.md
--- title: "GPUQuerySet: destroy() method" short-title: destroy() slug: Web/API/GPUQuerySet/destroy page-type: web-api-instance-method status: - experimental browser-compat: api.GPUQuerySet.destroy --- {{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} The **`destroy()`** method of the {{domxref("GP...
0
data/mdn-content/files/en-us/web/api/gpuqueryset
data/mdn-content/files/en-us/web/api/gpuqueryset/label/index.md
--- title: "GPUQuerySet: label property" short-title: label slug: Web/API/GPUQuerySet/label page-type: web-api-instance-property status: - experimental browser-compat: api.GPUQuerySet.label --- {{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} The **`label`** property of the {{domxref("GPUQuerySet"...
0
data/mdn-content/files/en-us/web/api/gpuqueryset
data/mdn-content/files/en-us/web/api/gpuqueryset/type/index.md
--- title: "GPUQuerySet: type property" short-title: type slug: Web/API/GPUQuerySet/type page-type: web-api-instance-property status: - experimental browser-compat: api.GPUQuerySet.type --- {{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} The **`type`** read-only property of the {{domxref("GPUQuer...
0
data/mdn-content/files/en-us/web/api/gpuqueryset
data/mdn-content/files/en-us/web/api/gpuqueryset/count/index.md
--- title: "GPUQuerySet: count property" short-title: count slug: Web/API/GPUQuerySet/count page-type: web-api-instance-property status: - experimental browser-compat: api.GPUQuerySet.count --- {{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} The **`count`** read-only property of the {{domxref("GP...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/dommatrixreadonly/index.md
--- title: DOMMatrixReadOnly slug: Web/API/DOMMatrixReadOnly page-type: web-api-interface browser-compat: api.DOMMatrixReadOnly --- {{APIRef("Geometry Interfaces")}} The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations. The {{domxref("DOMMatrix")}} interface — whi...
0
data/mdn-content/files/en-us/web/api/dommatrixreadonly
data/mdn-content/files/en-us/web/api/dommatrixreadonly/scale/index.md
--- title: "DOMMatrixReadOnly: scale() method" short-title: scale() slug: Web/API/DOMMatrixReadOnly/scale page-type: web-api-instance-method browser-compat: api.DOMMatrixReadOnly.scale --- {{APIRef("Geometry Interfaces")}} The **`scale()`** method of the {{domxref("DOMMatrixReadOnly")}} interface creates a new matrix...
0
data/mdn-content/files/en-us/web/api/dommatrixreadonly
data/mdn-content/files/en-us/web/api/dommatrixreadonly/translate/index.md
--- title: "DOMMatrixReadOnly: translate() method" short-title: translate() slug: Web/API/DOMMatrixReadOnly/translate page-type: web-api-instance-method browser-compat: api.DOMMatrixReadOnly.translate --- {{APIRef("Geometry Interfaces")}} The `translate()` method of the {{domxref("DOMMatrixReadOnly")}} interface crea...
0
data/mdn-content/files/en-us/web/api/dommatrixreadonly
data/mdn-content/files/en-us/web/api/dommatrixreadonly/dommatrixreadonly/index.md
--- title: "DOMMatrixReadOnly: DOMMatrixReadOnly() constructor" short-title: DOMMatrixReadOnly() slug: Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly page-type: web-api-constructor browser-compat: api.DOMMatrixReadOnly.DOMMatrixReadOnly --- {{APIRef("Geometry Interfaces")}} The **`DOMMatrixReadOnly`** constructor create...
0
data/mdn-content/files/en-us/web/api/dommatrixreadonly
data/mdn-content/files/en-us/web/api/dommatrixreadonly/flipx/index.md
--- title: "DOMMatrixReadOnly: flipX() method" short-title: flipX() slug: Web/API/DOMMatrixReadOnly/flipX page-type: web-api-instance-method browser-compat: api.DOMMatrixReadOnly.flipX --- {{APIRef("Geometry Interfaces")}} The `flipX()` method of the {{domxref("DOMMatrixReadOnly")}} interface creates a new matrix bei...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/webhid_api/index.md
--- title: WebHID API slug: Web/API/WebHID_API page-type: web-api-overview status: - experimental browser-compat: api.HID --- {{DefaultAPISidebar("WebHID API")}}{{SeeCompatTable}} A Human Interface Device (HID) is a type of device that takes input from or provides output to humans. It also refers to the HID protoco...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/xrlayerevent/index.md
--- title: XRLayerEvent slug: Web/API/XRLayerEvent page-type: web-api-interface status: - experimental browser-compat: api.XRLayerEvent --- {{APIRef("WebXR Device API")}} {{secureContext_header}}{{SeeCompatTable}} The **`XRLayerEvent`** interface of the [WebXR Device API](/en-US/docs/Web/API/WebXR_Device_API) is th...
0
data/mdn-content/files/en-us/web/api/xrlayerevent
data/mdn-content/files/en-us/web/api/xrlayerevent/xrlayerevent/index.md
--- title: "XRLayerEvent: XRLayerEvent() constructor" short-title: XRLayerEvent() slug: Web/API/XRLayerEvent/XRLayerEvent page-type: web-api-constructor status: - experimental browser-compat: api.XRLayerEvent.XRLayerEvent --- {{APIRef("WebXR Device API")}}{{SeeCompatTable}}{{SecureContext_Header}} The **`XRLayerEve...
0
data/mdn-content/files/en-us/web/api/xrlayerevent
data/mdn-content/files/en-us/web/api/xrlayerevent/layer/index.md
--- title: "XRLayerEvent: layer property" short-title: layer slug: Web/API/XRLayerEvent/layer page-type: web-api-instance-property status: - experimental browser-compat: api.XRLayerEvent.layer --- {{APIRef("WebXR Device API")}}{{SeeCompatTable}}{{SecureContext_Header}} The **`layer`** property of the {{domxref("XRL...
0
data/mdn-content/files/en-us/web/api
data/mdn-content/files/en-us/web/api/serviceworkerregistration/index.md
--- title: ServiceWorkerRegistration slug: Web/API/ServiceWorkerRegistration page-type: web-api-interface browser-compat: api.ServiceWorkerRegistration --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`ServiceWorkerRegistration`** interface of the [Service Worker API](/en-US/docs/Web/API/Service_Wo...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/backgroundfetch/index.md
--- title: "ServiceWorkerRegistration: backgroundFetch property" short-title: backgroundFetch slug: Web/API/ServiceWorkerRegistration/backgroundFetch page-type: web-api-instance-property status: - experimental browser-compat: api.ServiceWorkerRegistration.backgroundFetch --- {{APIRef("Background Fetch API")}}{{SeeCo...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/cookies/index.md
--- title: "ServiceWorkerRegistration: cookies property" short-title: cookies slug: Web/API/ServiceWorkerRegistration/cookies page-type: web-api-instance-property status: - experimental browser-compat: api.ServiceWorkerRegistration.cookies --- {{APIRef("Cookie Store API")}}{{SeeCompatTable}}{{SecureContext_Header}} ...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/scope/index.md
--- title: "ServiceWorkerRegistration: scope property" short-title: scope slug: Web/API/ServiceWorkerRegistration/scope page-type: web-api-instance-property browser-compat: api.ServiceWorkerRegistration.scope --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`scope`** read-only property of the {{dom...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/updatefound_event/index.md
--- title: "ServiceWorkerRegistration: updatefound event" short-title: updatefound slug: Web/API/ServiceWorkerRegistration/updatefound_event page-type: web-api-event browser-compat: api.ServiceWorkerRegistration.updatefound_event --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`updatefound`** even...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/updateviacache/index.md
--- title: "ServiceWorkerRegistration: updateViaCache property" short-title: updateViaCache slug: Web/API/ServiceWorkerRegistration/updateViaCache page-type: web-api-instance-property browser-compat: api.ServiceWorkerRegistration.updateViaCache --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`upda...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/paymentmanager/index.md
--- title: "ServiceWorkerRegistration: paymentManager property" short-title: paymentManager slug: Web/API/ServiceWorkerRegistration/paymentManager page-type: web-api-instance-property status: - experimental browser-compat: api.ServiceWorkerRegistration.paymentManager --- {{APIRef("Payment Handler API")}}{{SeeCompatT...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/getnotifications/index.md
--- title: "ServiceWorkerRegistration: getNotifications() method" short-title: getNotifications() slug: Web/API/ServiceWorkerRegistration/getNotifications page-type: web-api-instance-method browser-compat: api.ServiceWorkerRegistration.getNotifications --- {{APIRef("Web Notifications")}}{{SecureContext_Header}} The *...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/pushmanager/index.md
--- title: "ServiceWorkerRegistration: pushManager property" short-title: pushManager slug: Web/API/ServiceWorkerRegistration/pushManager page-type: web-api-instance-property browser-compat: api.ServiceWorkerRegistration.pushManager --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`pushManager`** r...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/waiting/index.md
--- title: "ServiceWorkerRegistration: waiting property" short-title: waiting slug: Web/API/ServiceWorkerRegistration/waiting page-type: web-api-instance-property browser-compat: api.ServiceWorkerRegistration.waiting --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`waiting`** read-only property of...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/unregister/index.md
--- title: "ServiceWorkerRegistration: unregister() method" short-title: unregister() slug: Web/API/ServiceWorkerRegistration/unregister page-type: web-api-instance-method browser-compat: api.ServiceWorkerRegistration.unregister --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`unregister()`** meth...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/installing/index.md
--- title: "ServiceWorkerRegistration: installing property" short-title: installing slug: Web/API/ServiceWorkerRegistration/installing page-type: web-api-instance-property browser-compat: api.ServiceWorkerRegistration.installing --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`installing`** read-o...
0
data/mdn-content/files/en-us/web/api/serviceworkerregistration
data/mdn-content/files/en-us/web/api/serviceworkerregistration/update/index.md
--- title: "ServiceWorkerRegistration: update() method" short-title: update() slug: Web/API/ServiceWorkerRegistration/update page-type: web-api-instance-method browser-compat: api.ServiceWorkerRegistration.update --- {{APIRef("Service Workers API")}}{{SecureContext_Header}} The **`update()`** method of the {{domxref(...
0