Search completed in 1.51 seconds.
9 results for "rellist":
HTMLAnchorElement.relList - Web APIs
Web › API › HTMLAnchorElement › relList
The HTMLAnchorElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <a> element and the current document. The property itself is read-only, meaning you can't substitute the DOMTokenList with another one, but its contents can still be changed. ...
...orElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <a> element and the current document. The property itself is read-only, meaning you can't substitute the DOMTokenList with another one, but its contents can still be changed. ...
...n the resource represented by the <a> element and the current document. The property itself is read-only, meaning you can't substitute the DOMTokenList with another one, but its contents can still be changed. Syntax var relstr = anchorElt.relList; Example var anchors = document.getElementsByTagName("a"); var length = anchors.length; for (var i = 0; i < length; i++) { var list = anchors[i].relList; var listLength = list.length; console.log("New anchor node found with", listLength, "link types in relList."); for (var j = 0; j < listLength; j++) { console.log(list[j]); } } Specifications Specification Status Comment HTML Living StandardThe definition of 'relList' in that specification. Living Standard Initial definition. ...
HTMLAreaElement.relList - Web APIs
Web › API › HTMLAreaElement › relList
The HTMLAreaElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <area> element and the current document. The property itself is read-only, meaning you can't substitute the DOMTokenList by another one, but the content of the returned list can be changed. ...
...List read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <area> element and the current document. The property itself is read-only, meaning you can't substitute the DOMTokenList by another one, but the content of the returned list can be changed. ...
...rce represented by the <area> element and the current document. The property itself is read-only, meaning you can't substitute the DOMTokenList by another one, but the content of the returned list can be changed. Syntax var relstr = areaElt.relList; Example var areas = document.getElementsByTagName("area"); var length = areas.length; for (var i = 0; i < length; i++) { var list = areas[i].relList; var listLength = list.length; console.log("New area found."); for (var j = 0; j < listLength; j++) { console.log(list[j]); } } Specifications Specification Status Comment HTML Living StandardThe definition of 'relList' in that specification. Living Standard Initial definition. ...
HTMLLinkElement.relList - Web APIs
Web › API › HTMLLinkElement › relList
The HTMLLinkElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <link> element and the current document. The property itself is read-only, meaning you can substitute the DOMTokenList by another one, but the content of the returned list can be changed. ...
...elList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <link> element and the current document. The property itself is read-only, meaning you can substitute the DOMTokenList by another one, but the content of the returned list can be changed. ...
...source represented by the <link> element and the current document. The property itself is read-only, meaning you can substitute the DOMTokenList by another one, but the content of the returned list can be changed. Syntax var relstr = linkElt.relList; Example var links = document.getElementsByTagName("link"); var length = links.length; for (var i = 0; i < length; i++) { var list = links[i].relList; var listLength = list.length; console.log("New link found."); for (var j = 0; j < listLength; j++) { console.log(list[j]); } } Specifications Specification Status Comment HTML Living StandardThe definition of 'relList' in that specification. Living Standard Initial definition. ...
Index - Web APIs
Web › API › Index
MTimeStamp API, DOM, Interface, Reference The DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears. 767 DOMTokenList API, DOM, DOMTokenList, Interface, Reference The DOMTokenList interface represents a set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. 768 DOMTokenList.add() API, Add, DOM, DOMTokenList, Method, Reference The add() method of the DOMTokenList interface adds the given token to the list. 769 ...
... when fetching the resource. 1566 HTMLAnchorElement.rel API, HTML DOM, HTMLAnchorElement, Property, Reference The HTMLAnchorElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the <a> element and the current document. 1567 HTMLAnchorElement.relList API, HTML DOM, HTMLAnchorElement, Property, Reference, relList The HTMLAnchorElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <a> element and the current document. 1568 HTMLAreaElement API, HTML DOM, Interface, Reference The HT...
... sent when fetching the resource. 1570 HTMLAreaElement.rel API, HTML DOM, HTMLAreaElement, Property, Reference The HTMLAreaElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the <area> element and the current document. 1571 HTMLAreaElement.relList API, HTML DOM, HTMLAreaElement, Property, Reference The HTMLAreaElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <area> element and the current document. 1572 HTMLAudioElement API, Audio, HTML, HTML DOM, HTMLAudioElement, Interface, ...
... sent when fetching the resource. 1762 HTMLLinkElement.rel API, HTML DOM, HTMLLInkElement, Property, Reference The HTMLLinkElement.rel property reflects the rel attribute. It is a DOMString containing a space-separated list of link types indicating the relationship between the resource represented by the <link> element and the current document. 1763 HTMLLinkElement.relList API, HTML DOM, HTMLLInkElement, Property, Read-only, Reference The HTMLLinkElement.relList read-only property reflects the rel attribute. It is a live DOMTokenList containing the set of link types indicating the relationship between the resource represented by the <link> element and the current document. 1764 HTMLMapElement API, HTML DOM, Interface, Reference The HT...
HTMLAnchorElement - Web APIs
Web › API › HTMLAnchorElement
String representing the protocol component, including trailing colon (':'), of the referenced URL. HTMLAnchorElement.referrerPolicy Is a DOMString that reflects the referrerpolicy HTML attribute indicating which referrer to use. HTMLAnchorElement.rel Is a DOMString that reflects the rel HTML attribute, specifying the relationship of the target object to the linked object. HTMLAnchorElement.relList Read only Returns a DOMTokenList that reflects the rel HTML attribute, as a list of tokens. HTMLHyperlinkElementUtils.search Is a USVString representing the search element, including leading question mark ('?'), if any, of the referenced URL. HTMLElement.tabindex Is a long containing the position of the element in the tabbing navigation order for the current document. HTMLAnchorElement.tar...
...n. HTML5The definition of 'HTMLAnchorElement' in that specification. Recommendation The methods blur() and focus(), as well as the properties tabindex and accessKey, are now defined on HTMLElement. The following properties are now obsolete: charset, coords, name, rev, and shape. The following properties have been added: hash, host, hostname, media, pathname, port, protocol, relList, search, and text. Document Object Model (DOM) Level 2 HTML SpecificationThe definition of 'HTMLAnchorElement' in that specification. Obsolete No change from Document Object Model (DOM) Level 1 Specification. Document Object Model (DOM) Level 1 SpecificationThe definition of 'HTMLAnchorElement' in that specification. Obsolete Initial definition. ...
HTMLAreaElement - Web APIs
Web › API › HTMLAreaElement
col component (including trailing colon ':'), of the referenced URL. HTMLAreaElement.referrerPolicy Is a DOMString that reflects the referrerpolicy HTML attribute indicating which referrer to use when fetching the linked resource. HTMLAreaElement.rel Is a DOMString that reflects the rel HTML attribute, indicating relationships of the current document to the linked resource. HTMLAreaElement.relList Read only Returns a DOMTokenList that reflects the rel HTML attribute, indicating relationships of the current document to the linked resource, as a list of tokens. HTMLHyperlinkElementUtils.search Is a USVString containing the search element (including leading question mark '?'), if any, of the referenced URL. HTMLAreaElement.shape Is a DOMString that reflects the shape HTML attribute, ind...
..., search, and hash, have been moving to the HTMLHyperlinkElementUtils mixin, and HTMLAreaElement implements this mixin. HTML5The definition of 'HTMLAreaElement' in that specification. Recommendation Technically, the properties tabindex and accesskey are now defined on HTMLElement. The following property is now obsolete: nohref. The following properties have been added: rel, relList, media, hreflang, type, host, hostname, pathname, port, protocol, search, and hash. Document Object Model (DOM) Level 2 HTML SpecificationThe definition of 'HTMLAreaElement' in that specification. Obsolete No change from Document Object Model (DOM) Level 1 Specification. Document Object Model (DOM) Level 1 SpecificationThe definition of 'HTMLAreaElement' in that specificat...
HTMLLinkElement - Web APIs
Web › API › HTMLLinkElement
HTMLLinkElement.media Is a DOMString representing a list of one or more media formats to which the resource applies. HTMLLinkElement.referrerPolicy Is a DOMString that reflects the referrerpolicy HTML attribute indicating which referrer to use. HTMLLinkElement.rel Is a DOMString representing the forward relationship of the linked resource from the document to the resource. HTMLLinkElement.relList Read only Is a DOMTokenList that reflects the rel HTML attribute, as a list of tokens. HTMLLinkElement.sizes Read only Is a DOMSettableTokenList that reflects the sizes HTML attribute, as a list of tokens. LinkStyle.sheet Read only Returns the StyleSheet object associated with the given element, or null if there is none. HTMLLinkElement.type Is a DOMString representing the MIME type of ...
...on. Living Standard Adds the following properties: crossOrigin, referrerPolicy, and as. HTML 5.1The definition of 'HTMLLinkElement' in that specification. Recommendation HTML5The definition of 'HTMLLinkElement' in that specification. Recommendation The following properties are now obsolete: charset, rev, and shape. The following properties have been added: relList, and sizes. Document Object Model (DOM) Level 2 HTML SpecificationThe definition of 'HTMLLinkElement' in that specification. Obsolete Added a second inheritence, the LinkStyle interface. Document Object Model (DOM) Level 1 SpecificationThe definition of 'HTMLLinkElement' in that specification. Obsolete Initial definition. ...
DOMTokenList - Web APIs
Web › API › DOMTokenList
It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. Properties DOMTokenList.length Read only Is an integer representing the number of objects stored in the object. DOMTokenList.value A stringifier property that returns the value of the list as a DOMString. ...
SVGAElement - Web APIs
Web › API › SVGAElement
d resource. SVGAElement.ping Is a DOMString that reflects the ping attribute, containing a space-separated list of URLs to which, when the hyperlink is followed, POST requests with the body PING will be sent by the browser (in the background). Typically used for tracking. SVGAElement.referrerPolicy See HTMLAnchorElement.referrerPolicy. SVGAElement.rel See HTMLAnchorElement.rel. SVGAElement.relList See HTMLAnchorElement.relList. SVGAElement.target Read only It corresponds to the target attribute of the given element. SVGAElement.text Is a DOMString being a synonym for the Node.textContent property. SVGAElement.type Is a DOMString that reflects the type attribute, indicating the MIME type of the linked resource. Methods This interface has no methods but inherits methods from its p...