libxmljs-dom
Version:
DOM wrapper for libxmljs
958 lines • 188 kB
JSON
{
"*": {
"name": "HTMLElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement",
"descripton": "The HTMLElement interface represents any HTML element. Some elements directly implement this interface, others implement it via an interface that inherits it.",
"properties": {
"accessKey": {
"name": "HTMLElement.accessKey",
"description": "Is a DOMString representing the access key assigned to the element.",
"accepts": "string",
"returns": "string",
},
"accessKeyLabel": {
"name": "HTMLElement.accessKeyLabel",
"description": "Returns a DOMString containing the element's assigned access key.",
"read_only": true
},
"contentEditable": {
"name": "HTMLElement.contentEditable",
"description": "Is a DOMString, where a value of \"true\" means the element is editable and a value of \"false\" means it isn't."
},
"isContentEditable": {
"name": "HTMLElement.isContentEditable",
"description": "Returns a Boolean that indicates whether or not the content of the element can be edited.",
"read_only": true
},
"contextMenu": {
"name": "HTMLElement.contextMenu",
"description": "Is an HTMLMenuElement representing the contextual menu associated with the element. It may be null"
},
"dataset": {
"name": "HTMLElement.dataset",
"description": "Returns a DOMStringMap that allows access to read and write the element custom data attributes (data-*) .",
"read_only": true
},
"dir": {
"name": "HTMLElement.dir",
"description": "Is a DOMString, reflecting the dir global attribute, representing the directionality of the element. Possible values are \"ltr\", \"rtl\", and \"auto\"."
},
"draggable": {
"name": "HTMLElement.draggable",
"description": "Is a Boolean indicating if the element can be dragged."
},
"dropzone": {
"name": "HTMLElement.dropzone",
"description": "Returns a DOMSettableTokenList reflecting the dropzone global attribute and describing the behavior of the element regarding a drop operation.",
"read_only": true
},
"hidden": {
"name": "HTMLElement.hidden",
"description": "Is a Boolean indicating if the element is hidden or not."
},
"itemScope": {
"name": "HTMLElement.itemScope",
"description": "Is a Boolean…",
"experimental": true
},
"itemType": {
"name": "HTMLElement.itemType",
"description": "Returns a DOMSettableTokenList…",
"experimental": true,
"read_only": true
},
"itemId": {
"name": "HTMLElement.itemId",
"description": "Is a DOMString…",
"experimental": true
},
"itemRef": {
"name": "HTMLElement.itemRef",
"description": "Returns a DOMSettableTokenList…",
"experimental": true,
"read_only": true
},
"itemProp": {
"name": "HTMLElement.itemProp",
"description": "Returns a DOMSettableTokenList…",
"experimental": true,
"read_only": true
},
"itemValue": {
"name": "HTMLElement.itemValue",
"description": "Returns an Object…",
"experimental": true
},
"lang": {
"name": "HTMLElement.lang",
"description": "Is a DOMString representing the language of an element's attributes, text, and element contents."
},
"offsetHeight": {
"name": "HTMLElement.offsetHeight",
"description": "Returns a double containing the height of an element, relative to the layout.",
"experimental": true,
"read_only": true
},
"offsetLeft": {
"name": "HTMLElement.offsetLeft",
"description": "Returns a double, the distance from this element's left border to its offsetParent's left border.",
"experimental": true,
"read_only": true
},
"offsetParent": {
"name": "HTMLElement.offsetParent",
"description": "Returns an Element that is the element from which all offset calculations are currently computed.",
"experimental": true,
"read_only": true
},
"offsetTop": {
"name": "HTMLElement.offsetTop",
"description": "Returns a double, the distance from this element's top border to its offsetParent's top border.",
"experimental": true,
"read_only": true
},
"offsetWidth": {
"name": "HTMLElement.offsetWidth",
"description": "Returns a double containing the width of an element, relative to the layout.",
"experimental": true,
"read_only": true
},
"properties": {
"name": "HTMLElement.properties",
"description": "Returns an HTMLPropertiesCollection…",
"experimental": true,
"read_only": true
},
"spellcheck": {
"name": "HTMLElement.spellcheck",
"description": "Is a Boolean that controls spell-checking. It is present on all HTML elements, though it hasn't an effect on all of them."
},
"style": {
"name": "HTMLElement.style",
"description": "Is CSSStyleDeclaration, an object representing the declarations of an element's style attributes.",
"accepts": "string",
"returns": "object"
},
"tabIndex": {
"name": "HTMLElement.tabIndex",
"description": "Is a long representing the position of the element in the tabbing order."
},
"title": {
"name": "HTMLElement.title",
"description": "Is a DOMString containing the text that appears in a popup box when mouse is over the element."
},
"translate": {
"name": "HTMLElement.translate",
"description": "Is a Boolean",
"experimental": true
}
},
"methods": {
"blur": {
"name": "HTMLElement.blur()",
"description": "Removes keyboard focus from the currently focused element.",
"details": "The HTMLElement.blur() method removes keyboard focus from the current element.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur"
},
"click": {
"name": "HTMLElement.click()",
"description": "Sends a mouse click event to the element.",
"details": "The HTMLElement.click() method simulates a mouse click on an element.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click"
},
"focus": {
"name": "HTMLElement.focus()",
"description": "Makes the element the current keyboard focus.",
"details": "The HTMLElement.focus() method sets focus on the specified element, if it can be focused.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus"
},
"forceSpellCheck": {
"name": "HTMLElement.forceSpellCheck()",
"description": "Makes the spell checker runs on the element.",
"experimental": true,
"details": "Forces a spelling and grammar check on HTML elements, even if the user has not focused on the elements. This method overrides user agent behavior. The user interface of the check, for example whether red underlining appears, is determined by the user agent.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/forceSpellCheck"
}
}
},
"anchor": {
"name": "HTMLAnchorElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement",
"descripton": "The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of such elements.",
"properties": {
"accessKey": {
"name": "HTMLAnchorElement.accessKey",
"description": "Is a DOMString representing a single character that switches input focus to the hyperlink."
},
"charset": {
"name": "HTMLAnchorElement.charset",
"description": "Is a DOMString representing the character encoding of the linked resource.",
"obsolete": true
},
"coords": {
"name": "HTMLAnchorElement.coords",
"description": "Is a DOMString representing a comma-separated list of coordinates.",
"obsolete": true
},
"download": {
"name": "HTMLAnchorElement.download",
"description": "Is a DOMString indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it. The value is a URL with a scheme like http:, file:, data: or even blob: (created with URL.createObjectURL).",
"experimental": true
},
"URLUtils.hash": {
"name": "URLUtils.hash",
"description": "Is a DOMString representing the fragment identifier, including the leading hash mark ('#'), if any, in the referenced URL."
},
"URLUtils.host": {
"name": "URLUtils.host",
"description": "Is a DOMString representing the hostname and port (if it's not the default port) in the referenced URL."
},
"URLUtils.hostname": {
"name": "URLUtils.hostname",
"description": "Is a DOMString representing the hostname in the referenced URL."
},
"URLUtils.href": {
"name": "URLUtils.href",
"description": "Is a DOMString that reflects the href HTML attribute, containing a valid URL of a linked resource."
},
"hreflang": {
"name": "HTMLAnchorElement.hreflang",
"description": "Is a DOMString that reflects the hreflang HTML attribute, indicating the language of the linked resource."
},
"media": {
"name": "HTMLAnchorElement.media",
"description": "Is a DOMString that reflects the media HTML attribute, indicating the intended media for the linked resource."
},
"name": {
"name": "HTMLAnchorElement.name",
"description": "Is a DOMString representing the anchor name.",
"obsolete": true
},
"URLUtils.password": {
"name": "URLUtils.password",
"description": "Is a DOMString containing the password specified before the domain name."
},
"URLUtils.origin": {
"name": "URLUtils.origin",
"description": "Returns a DOMString containing the origin of the URL, that is its scheme, its domain and its port.",
"read_only": true
},
"URLUtils.pathname": {
"name": "URLUtils.pathname",
"description": "Is a DOMString representing the path name component, if any, of the referenced URL."
},
"URLUtils.port": {
"name": "URLUtils.port",
"description": "Is a DOMString representing the port component, if any, of the referenced URL."
},
"URLUtils.protocol": {
"name": "URLUtils.protocol",
"description": "Is a DOMString representing the protocol component, including trailing colon (':'), of the referenced URL."
},
"referrer": {
"name": "HTMLAnchorElement.referrer",
"description": "Is a DOMString that reflects the referrer HTML attribute indicating which referrer to use when fetching the image.",
"experimental": true
},
"rel": {
"name": "HTMLAnchorElement.rel",
"description": "Is a DOMString that reflects the rel HTML attribute, specifying the relationship of the target object to the linked object."
},
"relList": {
"name": "HTMLAnchorElement.relList",
"description": "Returns a DOMTokenList that reflects the rel HTML attribute, as a list of tokens.",
"read_only": true
},
"rev": {
"name": "HTMLAnchorElement.rev",
"description": "Is a DOMString representing that the rev HTML attribute, specifying the relationship of the link object to the target object.",
"obsolete": true
},
"URLUtils.search": {
"name": "URLUtils.search",
"description": "Is a DOMString representing tThe search element, including leading question mark ('?'), if any, of the referenced URL."
},
"shape": {
"name": "HTMLAnchorElement.shape",
"description": "Is a DOMString representing the shape of the active area.",
"obsolete": true
},
"tabindex": {
"name": "HTMLAnchorElement.tabindex",
"description": "Is a long containing the position of the element in the tabbing navigation order for the current document."
},
"target": {
"name": "HTMLAnchorElement.target",
"description": "Is a DOMString that reflects the target HTML attribute, indicating where to display the linked resource."
},
"text": {
"name": "HTMLAnchorElement.text",
"description": "Is a DOMString being a synonym for the Node.textContent property."
},
"type": {
"name": "HTMLAnchorElement.type",
"description": "Is a DOMString that reflects the type HTML attribute, indicating the MIME type of the linked resource."
},
"URLUtils.username": {
"name": "URLUtils.username",
"description": "Is a DOMString containing the username specified before the domain name."
}
},
"methods": {
"HTMLElement.blur": {
"name": "HTMLElement.blur()",
"description": "Removes the keyboard focus from the current element.",
"details": "The HTMLElement.blur() method removes keyboard focus from the current element.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur"
},
"HTMLElement.focus": {
"name": "HTMLElement.focus()",
"description": "Gives the keyboard focus to the current element.",
"details": "The HTMLElement.focus() method sets focus on the specified element, if it can be focused.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus"
},
"URLUtils.toString": {
"name": "URLUtils.toString()",
"description": "Returns a DOMString containing the whole URL. It is a synonym for URLUtils.href, though it can't be used to modify the value.",
"details": "The URLUtils.toString() stringifier method returns a DOMString containing the whole URL. It is a read-only version of URLUtilsReadOnly.href.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/URLUtils/toString"
}
}
},
"area": {
"name": "HTMLAreaElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement",
"descripton": "The HTMLAreaElement interface provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of area elements.",
"properties": {
"accessKey": {
"name": "HTMLAreaElement.accessKey",
"description": "Is a DOMString containing a single character that switches input focus to the control."
},
"alt": {
"name": "HTMLAreaElement.alt",
"description": "Is a DOMString that reflects the alt HTML attribute, containing alternative text for the element."
},
"coords": {
"name": "HTMLAreaElement.coords",
"description": "Is a DOMString that reflects the coords HTML attribute, containing coordinates to define the hot-spot region."
},
"download": {
"name": "HTMLAreaElement.download",
"description": "Is a DOMString indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it.",
"experimental": true
},
"URLUtils.hash": {
"name": "URLUtils.hash",
"description": "Is a DOMString containing the fragment identifier (including the leading hash mark (#)), if any, in the referenced URL."
},
"URLUtils.host": {
"name": "URLUtils.host",
"description": "Is a DOMString containing the hostname and port (if it's not the default port) in the referenced URL."
},
"URLUtils.hostname": {
"name": "URLUtils.hostname",
"description": "Is a DOMString containing the hostname in the referenced URL."
},
"URLUtils.href": {
"name": "URLUtils.href",
"description": "Is a DOMString containing that reflects the href HTML attribute, containing a valid URL of a linked resource."
},
"hreflang": {
"name": "HTMLAreaElement.hreflang",
"description": "Is a DOMString containing that reflects the hreflang HTML attribute, indicating the language of the linked resource."
},
"media": {
"name": "HTMLAreaElement.media",
"description": "Is a DOMString containing that reflects the media HTML attribute, indicating target media of the linked resource."
},
"noHref": {
"name": "HTMLAreaElement.noHref",
"description": "Is a Boolean flag indicating if the area is inactive (true) or active (false).",
"obsolete": true
},
"URLUtils.password": {
"name": "URLUtils.password",
"description": "Is a DOMString containing the password specified before the domain name."
},
"URLUtils.origin": {
"name": "URLUtils.origin",
"description": "Returns a DOMString containing the origin of the URL, that is its scheme, its domain and its port.",
"read_only": true
},
"URLUtils.pathname": {
"name": "URLUtils.pathname",
"description": "Is a DOMString containing the path name component, if any, of the referenced URL."
},
"URLUtils.port": {
"name": "URLUtils.port",
"description": "Is a DOMString containing the port component, if any, of the referenced URL."
},
"URLUtils.protocol": {
"name": "URLUtils.protocol",
"description": "Is a DOMString containing the protocol component (including trailing colon ':'), of the referenced URL."
},
"referrer": {
"name": "HTMLAreaElement.referrer",
"description": "Is a DOMString that reflects the referrer HTML attribute indicating which referrer to use when fetching the linked resource.",
"experimental": true
},
"rel": {
"name": "HTMLAreaElement.rel",
"description": "Is a DOMString that reflects the rel HTML attribute, indicating relationships of the current document to the linked resource."
},
"relList": {
"name": "HTMLAreaElement.relList",
"description": "Returns a DOMTokenList that reflects the rel HTML attribute, indicating relationships of the current document to the linked resource, as a list of tokens.",
"read_only": true
},
"search": {
"name": "HTMLAreaElement.search",
"description": "Is a DOMString containing the search element (including leading question mark '?'), if any, of the referenced URL."
},
"shape": {
"name": "HTMLAreaElement.shape",
"description": "Is a DOMString that reflects the shape HTML attribute, indicating the shape of the hot-spot, limited to known values."
},
"tabIndex": {
"name": "HTMLAreaElement.tabIndex",
"description": "Is a long containing the element's position in the tabbing order."
},
"target": {
"name": "HTMLAreaElement.target",
"description": "Is a DOMString that reflects the target HTML attribute, indicating the browsing context in which to open the linked resource."
},
"type": {
"name": "HTMLAreaElement.type",
"description": "Is a DOMString that reflects the type HTML attribute, indicating the MIME type of the linked resource."
},
"URLUtils.username": {
"name": "URLUtils.username",
"description": "Is a DOMString containing the username specified before the domain name."
}
},
"methods": {
"URLUtils.toString": {
"name": "URLUtils.toString()",
"description": "Returns a DOMString containing the whole URL of the script executed in the Worker. It is a synonym for URLUtils.href.",
"details": "The URLUtils.toString() stringifier method returns a DOMString containing the whole URL. It is a read-only version of URLUtilsReadOnly.href.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/URLUtils/toString"
}
}
},
"audio": {
"name": "HTMLAudioElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement",
"descripton": "The HTMLAudioElement interface provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface.",
"properties": {},
"methods": {}
},
"base": {
"name": "HTMLBaseElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement",
"descripton": "The HTMLBaseElement interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.",
"properties": {
"href": {
"name": "HTMLBaseElement.href",
"description": "Is a DOMString that reflects the href HTML attribute, containing a base URL for relative URLs in the document."
},
"target": {
"name": "HTMLBaseElement.target",
"description": "Is a DOMString that reflects the target HTML attribute, containing a default target browsing context or frame for elements that do not have a target reference specified."
}
},
"methods": {}
},
"basefont": {
"name": "HTMLBaseFontElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseFontElement",
"descripton": "The HTMLBaseFontElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <basefont> elements.",
"obsolete": true,
"properties": {
"color": {
"name": "HTMLBaseFontElement.color",
"description": "Is a DOMString representing the text color using either a named color or a color specified in the hexadecimal #RRGGBB format."
},
"face": {
"name": "HTMLBaseFontElement.face",
"description": "Is a DOMString representing a list of one or more font names. The document text in the default style is rendered in the first font face that the client's browser supports. If no font listed is installed on the local system, the browser typically defaults to the proportional or fixed-width font for that system."
},
"size": {
"name": "HTMLBaseFontElement.size",
"description": "Is a DOMString representing the font size as either a numeric or relative value. Numeric values range from 1 to 7 with 1 being the smallest and 3 the default. Relative value starts with a '+' or a '-'."
}
},
"methods": {}
},
"body": {
"name": "HTMLBodyElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement",
"descripton": "The HTMLBodyElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating body elements.",
"properties": {
"aLink": {
"name": "HTMLBodyElement.aLink",
"description": "Is a DOMString that represents the color of active hyperlinks.",
"obsolete": true
},
"background": {
"name": "HTMLBodyElement.background",
"description": "Is a DOMString that represents the description of the location of the background image resource. Note that this is not an URI, though some older version of some browsers do expect it.",
"obsolete": true
},
"bgColor": {
"name": "HTMLBodyElement.bgColor",
"description": "Is a DOMString that represents the background color for the document.",
"obsolete": true
},
"link": {
"name": "HTMLBodyElement.link",
"description": "Is a DOMString that represents the color of unvisited links.",
"obsolete": true
},
"text": {
"name": "HTMLBodyElement.text",
"description": "Is a DOMString that represents the foreground color of text.",
"obsolete": true
},
"vLink": {
"name": "HTMLBodyElement.vLink",
"description": "Is a DOMString that represents the color of visited links.",
"obsolete": true
}
},
"methods": {}
},
"br": {
"name": "HTMLBRElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement",
"descripton": "The HTMLBRElement interface represents a HTML line break element (<br>). It inherits from HTMLElement.",
"properties": {
"clear": {
"name": "clear",
"description": "Indicates flow of text around floating objects.",
"obsolete": true
}
},
"methods": {}
},
"button": {
"name": "HTMLButtonElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement",
"descripton": "The HTMLButtonElement interface provides properties and methods (beyond the <button> object interface it also has available to them by inheritance) for manipulating the layout and presentation of button elements.",
"properties": {
"accessKey": {
"name": "accessKey",
"description": "A single-character keyboard key to give access to the button."
},
"autofocus": {
"name": "autofocus",
"description": "The control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."
},
"disabled": {
"name": "disabled",
"description": "The control is disabled, meaning that it does not accept any clicks."
},
"form": {
"name": "form",
"description": "The form that this button is associated with. If the button is a descendant of a form element, then this attribute is the ID of that form element.\n If the button is not a descendant of a form element, then the attribute can be the ID of any form element in the same document it is related to, or the null value if none matches.",
"read_only": true
},
"formAction": {
"name": "formAction",
"description": "The URI of a resource that processes information submitted by the button. If specified, this attribute overrides the action attribute of the <form> element that owns this element."
},
"formEncType": {
"name": "formEncType",
"description": "The type of content that is used to submit the form to the server. If specified, this attribute overrides the enctype attribute of the <form> element that owns this element."
},
"formMethod": {
"name": "formMethod",
"description": "The HTTP method that the browser uses to submit the form. If specified, this attribute overrides the method attribute of the <form> element that owns this element."
},
"formNoValidate": {
"name": "formNoValidate",
"description": "Indicates that the form is not to be validated when it is submitted. If specified, this attribute overrides the novalidate attribute of the <form> element that owns this element."
},
"formTarget": {
"name": "formTarget",
"description": "A name or keyword indicating where to display the response that is received after submitting the form. If specified, this attribute overrides the target attribute of the <form> element that owns this element."
},
"labels": {
"name": "labels",
"description": "A list of <label> elements that are labels for this button.",
"read_only": true
},
"menu": {
"name": "menu",
"description": "The menu element to be displayed if the button is clicked and is of type=\"menu\".",
"experimental": true
},
"name": {
"name": "name",
"description": "The name of the object when submitted with a form. HTML5 If specified, it must not be the empty string."
},
"tabIndex": {
"name": "tabIndex",
"description": "Number that represents this element's position in the tabbing order."
},
"type": {
"name": "type",
"description": "Indicates the behavior of the button. This is an enumerated attribute with the following possible values:\n \n \"submit\": The button submits the form. This is the default value if the attribute is not specified, HTML5 or if it is dynamically changed to an empty or invalid value.\n \"reset\": The button resets the form.\n \"button\": The button does nothing.\n \"menu\": The button displays a menu.",
"experimental": true
},
"validationMessage": {
"name": "validationMessage",
"description": "A localized message that describes the validation constraints that the control does not satisfy (if any). This attribute is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.",
"read_only": true
},
"validity": {
"name": "validity",
"description": "The validity states that this button is in.",
"read_only": true
},
"value": {
"name": "value",
"description": "The current form control value of the button."
},
"willValidate": {
"name": "willValidate",
"description": "Indicates whether the button is a candidate for constraint validation. It is false if any conditions bar it from constraint validation."
}
},
"methods": {
"checkValidity": {
"name": "checkValidity()",
"description": "Not supported for button elements.",
"details": "The Boolean object is an object wrapper for a boolean value.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Boolean"
},
"setCustomValidity": {
"name": "setCustomValidity(in DOMString error)",
"description": "Not supported for button elements.",
"args": [
"in DOMString error"
]
}
}
},
"canvas": {
"name": "HTMLCanvasElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement",
"descripton": "The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.",
"properties": {
"height": {
"name": "HTMLCanvasElement.height",
"description": "A positive integer reflecting the height HTML attribute of the <canvas> element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 150 is used."
},
"mozOpaque": {
"name": "HTMLCanvasElement.mozOpaque",
"description": "A Boolean reflecting the moz-opaque HTML attribute of the <canvas> element. It lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized.",
"non_standard": true
},
"width": {
"name": "HTMLCanvasElement.width",
"description": "A positive integer reflecting the width HTML attribute of the <canvas> element interpreted in CSS pixels. When the attribute is not specified, or if it is set to an invalid value, like a negative, the default value of 300 is used."
}
},
"methods": {
"captureStream": {
"name": "HTMLCanvasElement.captureStream()",
"description": "Returns a CanvasCaptureMediaStream that is a real-time video capture of the surface of the canvas.",
"experimental": true,
"details": "The HTMLCanvasElement.captureStream() method returns a CanvasCaptureMediaStream that is a real-time video capture of the surface of the canvas.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream"
},
"getContext": {
"name": "HTMLCanvasElement.getContext()",
"description": "Returns a drawing context on the canvas, or null if the context ID is not supported. A drawing context lets you draw on the canvas. Calling getContext with \"2d\" returns a CanvasRenderingContext2D object, whereas calling it with \"experimental-webgl\" (or \"webgl\") returns a WebGLRenderingContext object. This context is only available on browsers that implement WebGL.",
"details": "The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext"
},
"toDataURL": {
"name": "HTMLCanvasElement.toDataURL()",
"description": "Returns a data-URL containing a representation of the image in the format specified by the type parameter (defaults to png). The returned image is in a resolution of 96dpi.",
"details": "The HTMLCanvasElement.toDataURL() method returns a data URIs containing a representation of the image in the format specified by the type parameter (defaults to PNG). The returned image is in a resolution of 96 dpi.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL"
},
"toBlob": {
"name": "HTMLCanvasElement.toBlob()",
"description": "Creates a Blob object representing the image contained in the canvas; this file may be cached on the disk or stored in memory at the discretion of the user agent.",
"details": "The HTMLCanvasElement.toBlob() method creates a Blob object representing the image contained in the canvas; this file may be cached on the disk or stored in memory at the discretion of the user agent. If type is not specified, the image type is image/png. The created image is in a resolution of 96dpi.\n The third argument is used with image/jpeg images to specify the quality of the output.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob"
},
"mozGetAsFile": {
"name": "HTMLCanvasElement.mozGetAsFile()",
"description": "Returns a File object representing the image contained in the canvas; this file is a memory-based file, with the specified name. If type is not specified, the image type is image/png.",
"deprecated": true,
"non_standard": true,
"details": "The HTMLCanvasElement.mozGetAsFille() method returns a File object representing the image contained in the canvas; this file is a memory-based file, with the specified name. If type is not specified, the image type is image/png.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/mozGetAsFile"
}
}
},
"content": {
"name": "HTMLContentElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLContentElement",
"descripton": "The HTMLContentElement interface represents a <content> HTML Element, which is used in Shadow DOM.",
"properties": {
"select": {
"name": "HTMLContentElement.select",
"description": "A DOMString that reflects the select HTML attribute. The value is a comma-separated list of CSS selectors that select the content to insert in place of the <content> element."
}
},
"methods": {
"getDistributedNodes": {
"name": "HTMLContentElement.getDistributedNodes()",
"description": "Returns a static NodeList of the distributed nodes associated with this <content> element.",
"details": "The HTMLContentElement.getDistributedNodes() method returns a static NodeList of the distributed nodes associated with this <content> element.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLContentElement/getDistributedNodes"
}
}
},
"data": {
"name": "HTMLDataElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement",
"descripton": "The HTMLDataElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements.",
"properties": {
"value": {
"name": "value",
"description": "Reflects the value HTML attribute, containing a machine-readable form of the element's value."
}
},
"methods": {}
},
"datalist": {
"name": "HTMLDataListElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement",
"descripton": "The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.",
"properties": {
"options": {
"name": "options",
"description": "A collection of the contained option elements.",
"read_only": true
}
},
"methods": {}
},
"dialog": {
"name": "HTMLDialogElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement",
"descripton": "The HTMLDialogElement interface provides methods to manipulate <dialog> elements. It inherits properties and methods from the HTMLElement interface.",
"properties": {
"open": {
"name": "open",
"description": "Reflects the open HTML attribute, indicating that the dialog is available for interaction."
},
"returnValue": {
"name": "returnValue",
"description": "Gets/sets the return value for the dialog."
}
},
"methods": {
"close": {
"name": "close()",
"description": "Closes the dialog. An optional DOMString may be passed as an argument, updating the returnValue of the the dialog.",
"details": "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/DOMString"
},
"show": {
"name": "show()",
"description": "Displays the dialog modelessly, i.e. still allowing interaction with content outside of the dialog. An optional Element or MouseEvent may be passed as an argument, to specify an anchor point to which the dialog is fixed.",
"details": "The Element interface represents an object of a Document. This interface describes methods and properties common to all kinds of elements. Specific behaviors are described in interfaces which inherit from Element but add additional functionality.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Element"
},
"showModal": {
"name": "showModal()",
"description": "Displays the dialog for exclusive interaction, over the top of any other dialogs that might be present. An optional Element or MouseEvent may be passed as an argument, to specify an anchor point to which the dialog is fixed.",
"details": "The Element interface represents an object of a Document. This interface describes methods and properties common to all kinds of elements. Specific behaviors are described in interfaces which inherit from Element but add additional functionality.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Element"
}
}
},
"div": {
"name": "HTMLDivElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement",
"descripton": "The HTMLDivElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating div elements.",
"properties": {
"align": {
"name": "align",
"description": "Enumerated property indicating alignment of the element's contents with respect to the surrounding context. The possible values are \"left\", \"right\", \"justify\", and \"center\".",
"obsolete": true
}
},
"methods": {}
},
"dlist": {
"name": "HTMLDListElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement",
"descripton": "The HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list elements.",
"properties": {
"compact": {
"name": "compact",
"description": "Indicates that spacing between list items should be reduced.",
"obsolete": true
}
},
"methods": {}
},
"embed": {
"name": "HTMLEmbedElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement",
"descripton": "The HTMLEmbedElement interface, which provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements.",
"properties": {
"align": {
"name": "align",
"description": "Enumerated property indicating alignment of the element's contents with respect to the surrounding context. The possible values are \"left\", \"right\", \"center\", and \"justify\".",
"obsolete": true
},
"height": {
"name": "height",
"description": "Reflects the height HTML attribute, containing the displayed height of the resource."
},
"name": {
"name": "name",
"description": "The name of the embedded object.",
"obsolete": true
},
"src": {
"name": "src",
"description": "Reflects the src HTML attribute, containing the address of the resource."
},
"type": {
"name": "type",
"description": "Reflects the type HTML attribute, containing the type of the resource."
},
"width": {
"name": "width",
"description": "Reflects the width HTML attribute, containing the displayed width of the resource."
}
},
"methods": {}
},
"fieldset": {
"name": "HTMLFieldSetElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement",
"descripton": "The HTMLFieldSetElement interface has special properties and methods (beyond the regular HTMLelement interface it also has available to it by inheritance) for manipulating the layout and presentation of field-set elements.",
"properties": {
"disabled": {
"name": "disabled",
"description": "Reflects the disabled HTML attribute, indicating whether the user can interact with the control."
},
"elements": {
"name": "elements",
"description": "The elements belonging to this field set.",
"read_only": true
},
"form": {
"name": "form",
"description": "The containing form element, if this element is in a form.\n If the button is not a descendant of a form element, then the attribute can be the ID of any form element in the same document it is related to, or the null value if none matches.",
"read_only": true
},
"name": {
"name": "name",
"description": "Reflects the name HTML attribute, containing the name of the field set, used for submitting the form."
},
"type": {
"name": "type",
"description": "Must be the string fieldset.",
"read_only": true
},
"validationMessage": {
"name": "validationMessage",
"description": "A localized message that describes the validation constraints that the element does not satisfy (if any). This is the empty string if the element is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.",
"read_only": true
},
"validity": {
"name": "validity",
"description": "The validity states that this element is in.",
"read_only": true
},
"willValidate": {
"name": "willValidate",
"description": "Always false because <fieldset> objects are never candidates for constraint validation."
}
},
"methods": {
"checkValidity": {
"name": "checkValidity()",
"description": "Always returns true because <fieldset> objects are never candidates for constraint validation.",
"details": "The Boolean object is an object wrapper for a boolean value.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Boolean"
},
"setCustomValidity": {
"name": "setCustomValidity()",
"description": "Sets a custom validity message for the field set. If this message is not the empty string, then the field set is suffering from a custom validity error, and does not validate."
}
}
},
"form": {
"name": "HTMLFormElement",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement",
"descripton": "The HTMLFormElement interface provides methods to create and modify <form> elements; it inherits from properties and methods of the HTMLElement interface.",
"properties": {
"acceptCharset": {
"name": "HTMLFormElement.acceptCharset",
"description": "Is a DOMString that reflects the accept-charset HTML attribute, containing a list of character encodings that the server accepts."
},
"action": {
"name": "HTMLFormElement.action",
"description": "Is a DOMString that reflects the action HTML attribute, containing the URI of a program that processes the information submitted by the form."
},
"autocomplete": {
"name": "HTMLFormElement.autocomplete",
"description": "Is a DOMString that reflects the autocomplete HTML attribute, containing a string that indicates whether the controls in this form can have their values automatically populated by the browser."
},
"elements": {
"name": "HTMLFormElement.elements",
"description": "Returns a live HTMLFormControlsCollection containing all the form controls belonging to this form element.",
"read_only": true
},
"encoding": {
"name": "HTMLFormElement.encoding",
"description": "Is a synonym for enctype."
},
"enctype": {
"name": "HTMLFormElement.enctype",
"description": "Is a DOMString reflects the enctype HTML attribute, indicating the type of content that is used to transmit the form to the server. Only specified values can be set."
},
"length": {
"name": "HTMLFormElement.length",
"description": "Returns a long that represents the number of controls in the form.",
"read_only": true
},
"method": {
"name": "HTMLFormElement.method",
"description": "Is a DOMString that reflects the method HTML attribute, indicating the HTTP method used to submit the form. Only specified values can be set."
},
"name": {
"name": "HTMLFormElement.name",
"description": "Is a DOMString that reflects the name HTML attribute, containing the name of the form."
},
"noValidate": {
"name": "HTMLFormElement.noValidate",
"description": "Is a Boolean that reflects the novalidate HTML attribute, indicating that the form should not be validated."
},
"target": {
"name": "HTMLFormElement.target",
"description": "Is a DOMString that reflects the target HTML attribute, indicating where to display the results received from submitting the form."
}
},
"methods": {
"operator[index]": {
"name": "HTMLFormElement.operator[index]",
"description": "Gets the item in the elements collection at the specified index, or null if there is no item at that index. You can also specify the index in array-style brackets or parentheses after the form object name, without calling this method explicitly. E.g. form[4]",
"details": "The documentation about this has not yet been written; please consider contributing!"
},
"operator[string]": {
"name": "HTMLFormElement.operator[string]",
"description": "Gets the item or list of items in elements collection whose name or id match the specified string, or null if no items match. You can also specify the name in array-style brackets or parentheses after the form object name, without calling this method explicitly. E.g. form['value']",
"details": "The documentation about this has not yet been written; please consider contributing!"
},
"checkValidity": {
"name": "HTMLFormElement.checkValidity()",
"description": "Returns a Boolean that is true if the element's child controls are subject to constraint validation and satify those contraints, or false if some controls do not satisfy their constraints. Fires an event named invalid at any control that does not satisfy its constraints; such controls are considered invalid if the event is not canceled. It is up to the programmer to decide how to respond to false.",
"details": "The documentation about this has not yet been written; please consider contributing!"
},
"submit": {
"name": "HTMLFormElement.submit()",
"description": "Submits the form to the server.",
"details": "The HTMLFormElement.submit() method submits the form.