From 9f291f4376caacd29afe9350ceffd557d163ebb6 Mon Sep 17 00:00:00 2001 From: Sasha Firsov Date: Sat, 5 Aug 2023 11:38:58 -0700 Subject: [PATCH] 1.1.8 value getter callbacks for attr, prop, txt --- CssChain.d.ts | 22 +- CssChain.js | 34 +- HTMLElementMixin.d.ts | 4618 ++++++++++++++++++++++++++++++++--------- README.md | 12 +- package.json | 2 +- 5 files changed, 3729 insertions(+), 959 deletions(-) diff --git a/CssChain.d.ts b/CssChain.d.ts index 8fa2dd0..61174a9 100644 --- a/CssChain.d.ts +++ b/CssChain.d.ts @@ -22,14 +22,16 @@ export interface CssChainCollection extends Array, AnyElement attr(name:string): CssChainCollection; /** (alias for `setAttribute`) sets elements attribute, returns CssChain */ attr(name:string, value:string): CssChainCollection; + /** (alias for `setAttribute`) sets elements attribute with value from callback, returns CssChain */ + attr(name:string, valueCallback:( (el:T, i:number, arr:CssChainCollection)=>string) ): CssChainCollection; /** (alias for `setAttribute`) sets `css`-defined sub-tree elements attribute, returns CssChain */ - attr(name:string, value:string, css:string): CssChainCollection; + attr(name:string, valueOrCallback:string | ( (el:T, i:number, arrCss:CssChainCollection, arrThis:CssChainCollection)=>string), css:string): CssChainCollection; /** returns 1st element property value or `undefined` for empty collection */ prop(name:string): any; - /** sets elements attribute, returns CssChain */ - prop(name:string, value:any): CssChainCollection; - /** sets `css`-defined sub-tree elements attribute, returns CssChain */ - prop(name:string, value:any, css:string): CssChainCollection; + /** sets elements property, returns CssChain */ + prop(name:string, valueOrCallback:any | ( (el:T, i:number, arr:CssChainCollection)=>string)): CssChainCollection; + /** sets `css`-defined sub-tree elements property, returns CssChain */ + prop(name:string, valueOrCallback:any | ( (el:T, i:number, arrCss:CssChainCollection, arrThis:CssChainCollection)=>string), css:string): CssChainCollection; /** selects 1st elements by @param css string from each collection element, returns CssChain */ querySelector(css: string): CssChainT; /** selects child elements by @param css string, returns CssChain */ @@ -52,8 +54,14 @@ export interface CssChainCollection extends Array, AnyElement erase(): CssChainCollection; /** returns text of whole collection */ txt(): string; - /** sets text for each element from `val` or callback */ - txt(val: string | ((el:T,i:number,arr:CssChainCollection)=>string), css: string|CssChainCollection): CssChainCollection; + /** sets text for each element from `val` */ + txt(val: string): CssChainCollection; + /** sets text for each element from callback */ + txt( valCb: (el:T,i:number,arr:CssChainCollection)=>string): CssChainCollection; + /** sets text for each element from `val` */ + txt(val: string, css: string|CssChainCollection): CssChainCollection; + /** sets text for each element from callback */ + txt( valCb: (el:T,i:number,arrCss:CssChainCollection,arrThis:CssChainCollection)=>string, css: string|CssChainCollection): CssChainCollection; /** sets text for children elements defined by css, returns original collection */ txt(val: any, css: string|CssChainCollection): CssChainCollection; diff --git a/CssChain.js b/CssChain.js index 69c3527..5172298 100644 --- a/CssChain.js +++ b/CssChain.js @@ -89,14 +89,34 @@ function assignedNodesLight(f) class CssChainT extends Array { - attr(...args){ return args.length>1 ? (( args[2] ? this.$(args[2]) : this ).setAttribute(...args),this) : this.getAttribute(...args) } - prop(...args){ return args.length>1 ? (( args[2] ? this.$(args[2]) : this ).forEach( el=>el[args[0]]=args[1]),this ): this[0][args[0]] } + attr(...args) + { if( args.length < 2 ) + return this.getAttribute(...args); + let [k,v,s] = args + , $s = this.$(s); + if(isFn(v)) + $s.map((n,i,arr)=>v(n,i,arr,this)).forEach((V,i)=>$s[i].setAttribute(k,V)) + else + $s.setAttribute(...args); + return this + } + prop(...args) + { if( args.length < 2 ) + return this[0][args[0]]; + let [k,v,s] = args + , $s = this.$(s); + if(isFn(v)) + $s.map((n,i,arr)=>v(n,i,arr,this)).forEach((V,i)=>$s[i][k]=V) + else + $s.forEach( el=>el[k]=v); + return this + } forEach( ...args){ Array.prototype.forEach.apply(this,args); return this } map( ...args){ return map(this,...args) } push(...args){ Array.prototype.push.apply(this,args); return this; } querySelector(css){ return new CssChainT().push( this.querySelectorAll(css)[0] ) } querySelectorAll(css){ return this.reduce( ($,el)=> $.push(...(el.shadowRoot||el).querySelectorAll(css) ), new CssChainT()) } - $(...args){ return args.length ? this.querySelectorAll(...args) : this; } + $(...args){ return args.length && args[0] ? this.querySelectorAll(...args) : this; } parent(css) { const s = new Set() , add = n=> s.has(n) ? 0 : (s.add(n), n) @@ -186,11 +206,11 @@ CssChainT extends Array get innerText(){ return this.txt() } set innerText( val ){ return this.txt( val ) } txt( val, css=undefined ) - { const arr = css? this.$(css): this; + { const $ = this.$(css); if( val === undefined ) - return collectionText( arr ); - arr.forEach( isFn(val) - ? (n,i)=>setNodeText(n,val(n,i,arr)) + return collectionText( $ ); + $.forEach( isFn(val) + ? (n,i)=>setNodeText(n,val(n,i,$,this)) : n=>setNodeText(n,val) ); return this } diff --git a/HTMLElementMixin.d.ts b/HTMLElementMixin.d.ts index 304eb41..1ad31c4 100644 --- a/HTMLElementMixin.d.ts +++ b/HTMLElementMixin.d.ts @@ -5,60 +5,81 @@ import type { CssChainT} from './CssChain'; all methods return CssChainT */ export interface HTMLElementMixin { +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey)
*/ accessKey:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel)
*/ accessKeyLabel:string; autocapitalize:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir)
*/ dir:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable)
*/ draggable:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden)
*/ hidden:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert)
*/ + + inert:boolean; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText)
*/ innerText:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang)
*/ lang:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight)
*/ offsetHeight:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft)
*/ offsetLeft:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent)
*/ offsetParent:Element|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop)
*/ offsetTop:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth)
*/ offsetWidth:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText)
*/ outerText:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck)
*/ spellcheck:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title)
*/ title:string; translate:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals)
*/ attachInternals():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/click)
*/ click():CssChainT; @@ -74,7 +95,24 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; @@ -90,251 +128,399 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes)
*/ attributes:NamedNodeMap; -/** Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
*/ +/** Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
*/ classList:DOMTokenList; -/** Returns the value of element's class content attribute. Can be set to change it.
*/ +/** Returns the value of element's class content attribute. Can be set to change it. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/className)
*/ className:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientHeight)
*/ clientHeight:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientLeft)
*/ clientLeft:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientTop)
*/ clientTop:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth)
*/ clientWidth:number; -/** Returns the value of element's id content attribute. Can be set to change it.
*/ +/** Returns the value of element's id content attribute. Can be set to change it. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id)
*/ id:string; -/** Returns the local name.
*/ +/** Returns the local name. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/localName)
*/ localName:string; -/** Returns the namespace.
*/ +/** Returns the namespace. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI)
*/ namespaceURI:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenchange_event)
*/ onfullscreenchange:((this: Element, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenerror_event)
*/ onfullscreenerror:((this: Element, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/outerHTML)
*/ outerHTML:string; -/** Returns the node document. Returns null for documents.
*/ +/** Returns the node document. Returns null for documents. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument)
*/ ownerDocument:Document|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part)
*/ part:DOMTokenList; -/** Returns the namespace prefix.
*/ +/** Returns the namespace prefix. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/prefix)
*/ prefix:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight)
*/ scrollHeight:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)
*/ scrollLeft:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)
*/ scrollTop:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)
*/ scrollWidth:number; -/** Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
*/ +/** Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot)
*/ shadowRoot:ShadowRoot|null; -/** Returns the value of element's slot content attribute. Can be set to change it.
*/ +/** Returns the value of element's slot content attribute. Can be set to change it. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/slot)
*/ slot:string; -/** Returns the HTML-uppercased qualified name.
*/ +/** Returns the HTML-uppercased qualified name. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/tagName)
*/ tagName:string; -/** Creates a shadow root for element and returns it.
*/ +/** Creates a shadow root for element and returns it. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attachShadow)
*/ attachShadow(init: ShadowRootInit):CssChainT; -/** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
*/ + + checkVisibility(options?: CheckVisibilityOptions):CssChainT; + +/** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/closest)
*/ closest(selector: K):CssChainT; -/** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
*/ +/** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/closest)
*/ closest(selector: K):CssChainT; -/** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
*/ +/** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/closest)
*/ + + closest(selector: K):CssChainT; + +/** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/closest)
*/ closest(selectors: string):CssChainT; -/** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
*/ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/computedStyleMap)
*/ + + computedStyleMap():CssChainT; + +/** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttribute)
*/ getAttribute(qualifiedName: string):CssChainT; -/** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
*/ +/** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNS)
*/ getAttributeNS(namespace: string | null, localName: string):CssChainT; -/** Returns the qualified names of all element's attributes. Can contain duplicates.
*/ +/** Returns the qualified names of all element's attributes. Can contain duplicates. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNames)
*/ getAttributeNames():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNode)
*/ getAttributeNode(qualifiedName: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNodeNS)
*/ getAttributeNodeNS(namespace: string | null, localName: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getBoundingClientRect)
*/ getBoundingClientRect():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getClientRects)
*/ getClientRects():CssChainT; -/** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
*/ +/** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByClassName)
*/ getElementsByClassName(classNames: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
*/ getElementsByTagName(qualifiedName: K):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
*/ getElementsByTagName(qualifiedName: K):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
*/ + + getElementsByTagName(qualifiedName: K):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
*/ + + getElementsByTagName(qualifiedName: K):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
*/ getElementsByTagName(qualifiedName: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagNameNS)
*/ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagNameNS)
*/ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagNameNS)
*/ + + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagNameNS)
*/ getElementsByTagNameNS(namespace: string | null, localName: string):CssChainT; -/** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
*/ +/** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttribute)
*/ hasAttribute(qualifiedName: string):CssChainT; -/** Returns true if element has an attribute whose namespace is namespace and local name is localName.
*/ +/** Returns true if element has an attribute whose namespace is namespace and local name is localName. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttributeNS)
*/ hasAttributeNS(namespace: string | null, localName: string):CssChainT; -/** Returns true if element has attributes, and false otherwise.
*/ +/** Returns true if element has attributes, and false otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttributes)
*/ hasAttributes():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasPointerCapture)
*/ hasPointerCapture(pointerId: number):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement)
*/ insertAdjacentElement(where: InsertPosition, element: Element):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)
*/ insertAdjacentHTML(position: InsertPosition, text: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText)
*/ insertAdjacentText(where: InsertPosition, data: string):CssChainT; -/** Returns true if matching selectors against element's root yields element, and false otherwise.
*/ +/** Returns true if matching selectors against element's root yields element, and false otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
*/ matches(selectors: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture)
*/ releasePointerCapture(pointerId: number):CssChainT; -/** Removes element's first attribute whose qualified name is qualifiedName.
*/ +/** Removes element's first attribute whose qualified name is qualifiedName. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttribute)
*/ removeAttribute(qualifiedName: string):CssChainT; -/** Removes element's attribute whose namespace is namespace and local name is localName.
*/ +/** Removes element's attribute whose namespace is namespace and local name is localName. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNS)
*/ removeAttributeNS(namespace: string | null, localName: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNode)
*/ removeAttributeNode(attr: Attr):CssChainT; /** Displays element fullscreen and resolves promise when done. -When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
*/ +When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestFullscreen)
*/ requestFullscreen(options?: FullscreenOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock)
*/ requestPointerLock():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
*/ scroll(options?: ScrollToOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
*/ scroll(x: number, y: number):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
*/ scrollBy(options?: ScrollToOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
*/ scrollBy(x: number, y: number):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
*/ scrollIntoView(arg?: boolean | ScrollIntoViewOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
*/ scrollTo(options?: ScrollToOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
*/ scrollTo(x: number, y: number):CssChainT; -/** Sets the value of element's first attribute whose qualified name is qualifiedName to value.
*/ +/** Sets the value of element's first attribute whose qualified name is qualifiedName to value. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttribute)
*/ setAttribute(qualifiedName: string, value: string):CssChainT; -/** Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
*/ +/** Sets the value of element's attribute whose namespace is namespace and local name is localName to value. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
*/ setAttributeNS(namespace: string | null, qualifiedName: string, value: string):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNode)
*/ setAttributeNode(attr: Attr):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)
*/ setAttributeNodeNS(attr: Attr):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture)
*/ setPointerCapture(pointerId: number):CssChainT; /** If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. -Returns true if qualifiedName is now present, and false otherwise.
*/ +Returns true if qualifiedName is now present, and false otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
*/ toggleAttribute(qualifiedName: string, force?: boolean):CssChainT; @@ -353,174 +539,238 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Returns node's node document's document base URL.
*/ +/** Returns node's node document's document base URL. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/baseURI)
*/ baseURI:string; -/** Returns true if node is connected and false otherwise.
*/ +/** Returns true if node is connected and false otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isConnected)
*/ isConnected:boolean; -/** Returns the last child.
*/ +/** Returns the last child. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lastChild)
*/ lastChild:ChildNode|null; -/** Returns the next sibling.
*/ +/** Returns the next sibling. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nextSibling)
*/ nextSibling:ChildNode|null; -/** Returns a string appropriate for the type of node.
*/ +/** Returns a string appropriate for the type of node. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nodeName)
*/ nodeName:string; -/** Returns the type of node.
*/ +/** Returns the type of node. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nodeType)
*/ nodeType:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nodeValue)
*/ nodeValue:string|null; -/** Returns the parent element.
*/ +/** Returns the parent element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentElement)
*/ parentElement:HTMLElement|null; -/** Returns the parent.
*/ +/** Returns the parent. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentNode)
*/ parentNode:ParentNode|null; -/** Returns the previous sibling.
*/ +/** Returns the previous sibling. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/previousSibling)
*/ previousSibling:ChildNode|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent)
*/ textContent:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/appendChild)
*/ appendChild(node: T):CssChainT; -/** Returns a copy of node. If deep is true, the copy also includes the node's descendants.
*/ +/** Returns a copy of node. If deep is true, the copy also includes the node's descendants. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)
*/ cloneNode(deep?: boolean):CssChainT; -/** Returns a bitmask indicating the position of other relative to node.
*/ +/** Returns a bitmask indicating the position of other relative to node. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/compareDocumentPosition)
*/ compareDocumentPosition(other: Node):CssChainT; -/** Returns true if other is an inclusive descendant of node, and false otherwise.
*/ +/** Returns true if other is an inclusive descendant of node, and false otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/contains)
*/ contains(other: Node | null):CssChainT; -/** Returns node's root.
*/ +/** Returns node's root. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/getRootNode)
*/ getRootNode(options?: GetRootNodeOptions):CssChainT; -/** Returns whether node has children.
*/ +/** Returns whether node has children. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/hasChildNodes)
*/ hasChildNodes():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/insertBefore)
*/ insertBefore(node: T, child: Node | null):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isDefaultNamespace)
*/ isDefaultNamespace(namespace: string | null):CssChainT; -/** Returns whether node and otherNode have the same properties.
*/ +/** Returns whether node and otherNode have the same properties. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isEqualNode)
*/ isEqualNode(otherNode: Node | null):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isSameNode)
*/ isSameNode(otherNode: Node | null):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lookupNamespaceURI)
*/ lookupNamespaceURI(prefix: string | null):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lookupPrefix)
*/ lookupPrefix(namespace: string | null):CssChainT; -/** Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
*/ +/** Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/normalize)
*/ normalize():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/removeChild)
*/ removeChild(child: T):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/replaceChild)
*/ replaceChild(node: Node, child: T):CssChainT; +/** node is an element.
*/ - ATTRIBUTE_NODE:number; + ELEMENT_NODE:1; -/** node is a CDATASection node.
*/ - CDATA_SECTION_NODE:number; + ATTRIBUTE_NODE:2; -/** node is a Comment node.
*/ +/** node is a Text node.
*/ - COMMENT_NODE:number; + TEXT_NODE:3; -/** node is a DocumentFragment node.
*/ +/** node is a CDATASection node.
*/ - DOCUMENT_FRAGMENT_NODE:number; + CDATA_SECTION_NODE:4; -/** node is a document.
*/ - DOCUMENT_NODE:number; + ENTITY_REFERENCE_NODE:5; -/** Set when other is a descendant of node.
*/ - DOCUMENT_POSITION_CONTAINED_BY:number; + ENTITY_NODE:6; -/** Set when other is an ancestor of node.
*/ +/** node is a ProcessingInstruction node.
*/ - DOCUMENT_POSITION_CONTAINS:number; + PROCESSING_INSTRUCTION_NODE:7; -/** Set when node and other are not in the same tree.
*/ +/** node is a Comment node.
*/ - DOCUMENT_POSITION_DISCONNECTED:number; + COMMENT_NODE:8; -/** Set when other is following node.
*/ +/** node is a document.
*/ - DOCUMENT_POSITION_FOLLOWING:number; + DOCUMENT_NODE:9; +/** node is a doctype.
*/ - DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:number; + DOCUMENT_TYPE_NODE:10; -/** Set when other is preceding node.
*/ +/** node is a DocumentFragment node.
*/ - DOCUMENT_POSITION_PRECEDING:number; + DOCUMENT_FRAGMENT_NODE:11; -/** node is a doctype.
*/ - DOCUMENT_TYPE_NODE:number; + NOTATION_NODE:12; -/** node is an element.
*/ +/** Set when node and other are not in the same tree.
*/ - ELEMENT_NODE:number; + DOCUMENT_POSITION_DISCONNECTED:0x01; +/** Set when other is preceding node.
*/ - ENTITY_NODE:number; + DOCUMENT_POSITION_PRECEDING:0x02; +/** Set when other is following node.
*/ - ENTITY_REFERENCE_NODE:number; + DOCUMENT_POSITION_FOLLOWING:0x04; +/** Set when other is an ancestor of node.
*/ - NOTATION_NODE:number; + DOCUMENT_POSITION_CONTAINS:0x08; -/** node is a ProcessingInstruction node.
*/ +/** Set when other is a descendant of node.
*/ - PROCESSING_INSTRUCTION_NODE:number; + DOCUMENT_POSITION_CONTAINED_BY:0x10; -/** node is a Text node.
*/ - TEXT_NODE:number; + DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:0x20; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -534,240 +784,340 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean):CssChainT; -/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
*/ +/** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
*/ dispatchEvent(event: Event):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
*/ ariaAtomic:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
*/ ariaAutoComplete:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
*/ ariaBusy:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
*/ ariaChecked:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
*/ ariaColCount:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
*/ ariaColIndex:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
*/ ariaColSpan:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
*/ ariaCurrent:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
*/ ariaDisabled:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
*/ ariaExpanded:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
*/ ariaHasPopup:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
*/ ariaHidden:string|null; + ariaInvalid:string|null; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
*/ + ariaKeyShortcuts:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
*/ ariaLabel:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
*/ ariaLevel:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
*/ ariaLive:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
*/ ariaModal:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
*/ ariaMultiLine:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
*/ ariaMultiSelectable:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
*/ ariaOrientation:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
*/ ariaPlaceholder:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
*/ ariaPosInSet:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
*/ ariaPressed:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
*/ ariaReadOnly:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
*/ ariaRequired:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
*/ ariaRoleDescription:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
*/ ariaRowCount:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
*/ ariaRowIndex:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
*/ ariaRowSpan:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
*/ ariaSelected:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
*/ ariaSetSize:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
*/ ariaSort:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
*/ ariaValueMax:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
*/ ariaValueMin:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
*/ ariaValueNow:string|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
*/ ariaValueText:string|null; + role:string|null; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animate)
*/ + animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAnimations)
*/ getAnimations(options?: GetAnimationsOptions):CssChainT; /** Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. -Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*/ +Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/after)
*/ after(...nodes: (Node | string)[]):CssChainT; /** Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. -Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*/ +Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/before)
*/ before(...nodes: (Node | string)[]):CssChainT; /** Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. -Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*/ +Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/replaceWith)
*/ replaceWith(...nodes: (Node | string)[]):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
*/ innerHTML:string; -/** Returns the first following sibling that is an element, and null otherwise.
*/ +/** Returns the first following sibling that is an element, and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/nextElementSibling)
*/ nextElementSibling:Element|null; -/** Returns the first preceding sibling that is an element, and null otherwise.
*/ +/** Returns the first preceding sibling that is an element, and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/previousElementSibling)
*/ previousElementSibling:Element|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)
*/ childElementCount:number; -/** Returns the last child that is an element, and null otherwise.
*/ +/** Returns the last child that is an element, and null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)
*/ lastElementChild:Element|null; /** Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes. -Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*/ +Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
*/ append(...nodes: (Node | string)[]):CssChainT; /** Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes. -Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*/ +Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
*/ prepend(...nodes: (Node | string)[]):CssChainT; -/** Returns the first element that is a descendant of node that matches selectors.
*/ +/** Returns the first element that is a descendant of node that matches selectors. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
*/ querySelector(selectors: K):CssChainT; -/** Returns the first element that is a descendant of node that matches selectors.
*/ +/** Returns the first element that is a descendant of node that matches selectors. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
*/ querySelector(selectors: K):CssChainT; -/** Returns the first element that is a descendant of node that matches selectors.
*/ +/** Returns the first element that is a descendant of node that matches selectors. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
*/ + + querySelector(selectors: K):CssChainT; + +/** Returns the first element that is a descendant of node that matches selectors. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
*/ + + querySelector(selectors: K):CssChainT; + +/** Returns the first element that is a descendant of node that matches selectors. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
*/ querySelector(selectors: string):CssChainT; -/** Returns all element descendants of node that match selectors.
*/ +/** Returns all element descendants of node that match selectors. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
*/ querySelectorAll(selectors: K):CssChainT; -/** Returns all element descendants of node that match selectors.
*/ +/** Returns all element descendants of node that match selectors. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
*/ querySelectorAll(selectors: K):CssChainT; -/** Returns all element descendants of node that match selectors.
*/ +/** Returns all element descendants of node that match selectors. - querySelectorAll(selectors: string):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
*/ -/** Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes. + querySelectorAll(selectors: K):CssChainT; -Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*/ +/** Returns all element descendants of node that match selectors. - replaceChildren(...nodes: (Node | string)[]):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
*/ + querySelectorAll(selectors: K):CssChainT; - assignedSlot:HTMLSlotElement|null; +/** Returns all element descendants of node that match selectors. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
*/ - oncopy:((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any)|null; + querySelectorAll(selectors: string):CssChainT; +/** Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes. - oncut:((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any)|null; +Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
*/ - onpaste:((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any)|null; + replaceChildren(...nodes: (Node | string)[]):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/assignedSlot)
*/ - addEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + assignedSlot:HTMLSlotElement|null; - removeEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + attributeStyleMap:StylePropertyMap; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style)
*/ style:CSSStyleDeclaration; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/contentEditable)
*/ contentEditable:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/enterKeyHint)
*/ enterKeyHint:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inputMode)
*/ inputMode:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/isContentEditable)
*/ isContentEditable:boolean; @@ -775,29 +1125,43 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onabort:((this: GlobalEventHandlers, ev: UIEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationcancel_event)
*/ onanimationcancel:((this: GlobalEventHandlers, ev: AnimationEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)
*/ onanimationend:((this: GlobalEventHandlers, ev: AnimationEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)
*/ onanimationiteration:((this: GlobalEventHandlers, ev: AnimationEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)
*/ onanimationstart:((this: GlobalEventHandlers, ev: AnimationEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event)
*/ onauxclick:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event)
*/ + + onbeforeinput:((this: GlobalEventHandlers, ev: InputEvent) => any)|null; + /** Fires when the object loses the input focus.
*/ onblur:((this: GlobalEventHandlers, ev: FocusEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event)
*/ + + oncancel:((this: GlobalEventHandlers, ev: Event) => any)|null; + /** Occurs when playback is possible, but would require further buffering.
*/ oncanplay:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplaythrough_event)
*/ oncanplaythrough:((this: GlobalEventHandlers, ev: Event) => any)|null; @@ -809,6 +1173,7 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onclick:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event)
*/ onclose:((this: GlobalEventHandlers, ev: Event) => any)|null; @@ -816,9 +1181,18 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre oncontextmenu:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event)
*/ + + oncopy:((this: GlobalEventHandlers, ev: ClipboardEvent) => any)|null; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event)
*/ oncuechange:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/cut_event)
*/ + + oncut:((this: GlobalEventHandlers, ev: ClipboardEvent) => any)|null; + /** Fires when the user double-clicks the object.
*/ ondblclick:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; @@ -847,6 +1221,7 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre ondragstart:((this: GlobalEventHandlers, ev: DragEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drop_event)
*/ ondrop:((this: GlobalEventHandlers, ev: DragEvent) => any)|null; @@ -870,15 +1245,19 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onfocus:((this: GlobalEventHandlers, ev: FocusEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event)
*/ onformdata:((this: GlobalEventHandlers, ev: FormDataEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event)
*/ ongotpointercapture:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/input_event)
*/ oninput:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event)
*/ oninvalid:((this: GlobalEventHandlers, ev: Event) => any)|null; @@ -910,6 +1289,7 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onloadstart:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lostpointercapture_event)
*/ onlostpointercapture:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; @@ -917,9 +1297,11 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onmousedown:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseenter_event)
*/ onmouseenter:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseleave_event)
*/ onmouseleave:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; @@ -939,6 +1321,10 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onmouseup:((this: GlobalEventHandlers, ev: MouseEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/paste_event)
*/ + + onpaste:((this: GlobalEventHandlers, ev: ClipboardEvent) => any)|null; + /** Occurs when playback is paused.
*/ onpause:((this: GlobalEventHandlers, ev: Event) => any)|null; @@ -951,27 +1337,35 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onplaying:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointercancel_event)
*/ onpointercancel:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerdown_event)
*/ onpointerdown:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerenter_event)
*/ onpointerenter:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerleave_event)
*/ onpointerleave:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointermove_event)
*/ onpointermove:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerout_event)
*/ onpointerout:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event)
*/ onpointerover:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event)
*/ onpointerup:((this: GlobalEventHandlers, ev: PointerEvent) => any)|null; @@ -987,6 +1381,7 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onreset:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/resize_event)
*/ onresize:((this: GlobalEventHandlers, ev: UIEvent) => any)|null; @@ -994,6 +1389,7 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onscroll:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event)
*/ onsecuritypolicyviolation:((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any)|null; @@ -1009,12 +1405,15 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onselect:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/selectionchange_event)
*/ onselectionchange:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/selectstart_event)
*/ onselectstart:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/slotchange_event)
*/ onslotchange:((this: GlobalEventHandlers, ev: Event) => any)|null; @@ -1022,6 +1421,7 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onstalled:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit_event)
*/ onsubmit:((this: GlobalEventHandlers, ev: SubmitEvent) => any)|null; @@ -1033,30 +1433,39 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre ontimeupdate:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/toggle_event)
*/ ontoggle:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event)
*/ ontouchcancel:((this: GlobalEventHandlers, ev: TouchEvent) => any)|null|undefined; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event)
*/ ontouchend:((this: GlobalEventHandlers, ev: TouchEvent) => any)|null|undefined; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event)
*/ ontouchmove:((this: GlobalEventHandlers, ev: TouchEvent) => any)|null|undefined; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event)
*/ ontouchstart:((this: GlobalEventHandlers, ev: TouchEvent) => any)|null|undefined; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event)
*/ ontransitioncancel:((this: GlobalEventHandlers, ev: TransitionEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)
*/ ontransitionend:((this: GlobalEventHandlers, ev: TransitionEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event)
*/ ontransitionrun:((this: GlobalEventHandlers, ev: TransitionEvent) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event)
*/ ontransitionstart:((this: GlobalEventHandlers, ev: TransitionEvent) => any)|null; @@ -1080,6 +1489,7 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre onwebkittransitionend:((this: GlobalEventHandlers, ev: Event) => any)|null; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/wheel_event)
*/ onwheel:((this: GlobalEventHandlers, ev: WheelEvent) => any)|null; @@ -1092,18 +1502,23 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre autofocus:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset)
*/ dataset:DOMStringMap; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce)
*/ nonce:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex)
*/ tabIndex:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/blur)
*/ blur():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/focus)
*/ focus(options?: FocusOptions):CssChainT; @@ -1111,39 +1526,104 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre charset:string; -/** Sets or retrieves the coordinates of the object.
*/ +/** Sets or retrieves the coordinates of the object.
+ + Sets or retrieves the coordinates of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords)
*/ coords:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download)
*/ download:string; -/** Sets or retrieves the language code of the object.
*/ +/** Sets or retrieves the language code of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
+ + Sets or retrieves the language code of the object.
*/ hreflang:string; /** Sets or retrieves the shape of the object.
+ Sets or retrieves the name of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)
+ Sets or retrieves the name of the object.
+ [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name)
+ + Sets or retrieves the name of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)
+ Sets or retrieves the frame name.
+ Sets or retrieves the frame name. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/name)
+ + Sets or retrieves the name of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/name)
+ Sets or retrieves the value specified in the content attribute of the meta object.
- Sets or retrieves the name of an input parameter for an element.
*/ + Sets or retrieves the name of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/name)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name)
+ + Sets or retrieves the name of an input parameter for an element.
+ + Sets or retrieves the name of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/name)
*/ name:string; ping:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy)
*/ referrerPolicy:string|ReferrerPolicy; -/** Sets or retrieves the relationship between the object and the destination of the link.
*/ +/** Sets or retrieves the relationship between the object and the destination of the link. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rel)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel)
+ + Sets or retrieves the relationship between the object and the destination of the link. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/rel)
*/ rel:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList)
*/ relList:DOMTokenList; @@ -1151,43 +1631,91 @@ Throws a "HierarchyRequestError" DOMException if the constraints of the node tre rev:string; -/** Sets or retrieves the shape of the object.
*/ +/** Sets or retrieves the shape of the object.
+ + Sets or retrieves the shape of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
*/ shape:string; -/** Sets or retrieves the window or frame at which to target content.
*/ +/** Sets or retrieves the window or frame at which to target content. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
+ + Sets or retrieves the window or frame at which to target content. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target)
+ + Sets or retrieves the window or frame at which to target content. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/target)
+ + Sets or retrieves the window or frame at which to target content. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)
+ + Sets or retrieves the window or frame at which to target content.
*/ target:string; -/** Retrieves or sets the text of the object as a string.
+/** Retrieves or sets the text of the object as a string. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)
+ + Sets or retrieves the text string specified by the option tag. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
- Sets or retrieves the text string specified by the option tag.
*/ + Retrieves or sets the text of the object as a string.
+ + Retrieves or sets the text of the object as a string. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTitleElement/text)
*/ text:string; -/** Gets the classification and default behavior of the button.
+/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
+ + Gets the classification and default behavior of the button. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
- Returns the string "fieldset".
+ Returns the string "fieldset". + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
Returns the content type of the object.
Sets or retrieves the MIME type of the object.
- Returns the string "output".
+ [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/type)
+ + Sets or retrieves the MIME type of the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/type)
+ + Returns the string "output". + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
Sets or retrieves the content type of the resource designated by the value attribute.
Sets or retrieves the MIME type for the associated scripting engine.
- Retrieves the type of select control based on the value of the MULTIPLE attribute.
+ Retrieves the type of select control based on the value of the MULTIPLE attribute. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
- Gets or sets the MIME type of a media resource.
+ Gets or sets the MIME type of a media resource. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type)
Retrieves the CSS language in which the style sheet is written.
Retrieves the type of control.
*/ - type:string; + type:string|"submit"|"reset"|"button"; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1201,15 +1729,45 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Sets or retrieves a text alternative to the graphic.
*/ +/** Sets or retrieves a text alternative to the graphic. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)
+ + Sets or retrieves a text alternative to the graphic. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt)
+ + Sets or retrieves a text alternative to the graphic.
*/ alt:string; @@ -1229,15 +1787,37 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.
*/ clear:string; @@ -1253,15 +1833,39 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Gets or sets the baseline URL on which relative links are based.
+/** Gets or sets the baseline URL on which relative links are based. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href)
Sets or retrieves a destination URL or an anchor point.
*/ @@ -1279,11 +1883,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -1300,9 +1926,6 @@ The event listener is appended to target's event listener list and is not append link:string; - onorientationchange:((this: HTMLBodyElement, ev: Event) => any)|null; - - vLink:string; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1317,266 +1940,307 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled)
+ + Enables or disables the style sheet. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/disabled)
*/ disabled:boolean; -/** Retrieves a reference to the form that the object is embedded in.
*/ +/** Retrieves a reference to the form that the object is embedded in. - form:HTMLFormElement|null; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form)
-/** Overrides the action attribute (where the data on a form is sent) on the parent form element.
*/ + Retrieves a reference to the form that the object is embedded in. - formAction:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form)
-/** Used to override the encoding (formEnctype attribute) specified on the form element.
*/ + Retrieves a reference to the form that the object is embedded in.
- formEnctype:string; + Retrieves a reference to the form that the object is embedded in. -/** Overrides the submit method attribute previously specified on a form element.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/form)
- formMethod:string; + Retrieves a reference to the form that the object is embedded in. -/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/form)
- formNoValidate:boolean; + Retrieves a reference to the form that the object is embedded in. -/** Overrides the target attribute on a form element.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
- formTarget:string; + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form)
+ Retrieves a reference to the form that the object is embedded in. - labels:NodeListOf|null; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/form)
*/ -/** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/ + form:HTMLFormElement|null; - validationMessage:string; +/** Overrides the action attribute (where the data on a form is sent) on the parent form element. -/** Returns a ValidityState object that represents the validity states of an element.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)
- validity:ValidityState; + Overrides the action attribute (where the data on a form is sent) on the parent form element. -/** Sets or retrieves the default or selected value of the control.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)
*/ - Returns the value of the data at the cursor's current position.
+ formAction:string; - Sets or retrieves the value of a list item.
+/** Used to override the encoding (formEnctype attribute) specified on the form element. - Sets or retrieves the value which is returned to the server when the form control is submitted.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype)
- Returns the element's current value. + Used to override the encoding (formEnctype attribute) specified on the form element. -Can be set, to change the value.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype)
*/ - Sets or retrieves the value of an input parameter for an element.
+ formEnctype:string; - Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.
+/** Overrides the submit method attribute previously specified on a form element. - Retrieves or sets the text in the entry field of the textArea element.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)
- value:string|number; + Overrides the submit method attribute previously specified on a form element. -/** Returns whether an element will successfully validate based on forms validation rules and constraints.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)
*/ - willValidate:boolean; + formMethod:string; -/** Returns whether a form will validate when it is submitted, without having to submit it.
*/ +/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - checkValidity():CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate)
+ Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. - reportValidity():CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate)
*/ -/** Sets a custom error message that is displayed when a form is submitted.
*/ + formNoValidate:boolean; - setCustomValidity(error: string):CssChainT; +/** Overrides the target attribute on a form element. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget)
-The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + Overrides the target attribute on a form element. -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget)
*/ -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + formTarget:string; -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels)
-If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels)
-The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels)
- addEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels)
-/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/labels)
- removeEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels)
-/** Gets or sets the height of a canvas element on a document.
+ [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels)
*/ - Sets or retrieves the height of the object.
+ labels:NodeListOf|null; - Gets or sets the height of the video element.
*/ +/** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - height:number|string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
-/** Gets or sets the width of a canvas element on a document.
+ Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - Sets or retrieves the width of the object.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
- Gets or sets the width of the video element.
+ Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - Sets or gets a value that you can use to implement your own width functionality for the object.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
- width:number|string; + Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validationMessage)
- captureStream(frameRequestRate?: number):CssChainT; + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage)
-/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ + Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. - getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
-/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ + Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/ - getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings):CssChainT; + validationMessage:string; -/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ +/** Returns a ValidityState object that represents the validity states of an element. - getContext(contextId: "webgl", options?: WebGLContextAttributes):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity)
-/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ + Returns a ValidityState object that represents the validity states of an element. - getContext(contextId: "webgl2", options?: WebGLContextAttributes):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity)
-/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ + Returns a ValidityState object that represents the validity states of an element. - getContext(contextId: string, options?: any):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity)
+ Returns a ValidityState object that represents the validity states of an element. - toBlob(callback: BlobCallback, type?: string, quality?: any):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity)
-/** Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.
*/ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity)
- toDataURL(type?: string, quality?: any):CssChainT; + Returns a ValidityState object that represents the validity states of an element. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity)
-The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + Returns a ValidityState object that represents the validity states of an element.
*/ -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + validity:ValidityState; -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. +/** Sets or retrieves the default or selected value of the control. -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
-If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataElement/value)
-The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ + Returns the value of the data at the cursor's current position.
- addEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + Sets or retrieves the value of a list item.
-/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value)
- removeEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + Sets or retrieves the value which is returned to the server when the form control is submitted. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value)
- compact:boolean; + Returns the element's current value. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +Can be set, to change the value. -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
-When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + Sets or retrieves the value of an input parameter for an element.
-When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value. -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/value)
-If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + Sets or retrieves the value which is returned to the server when the form control is submitted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value)
- addEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + Retrieves or sets the text in the entry field of the textArea element.
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + value:string|number; - removeEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Returns whether an element will successfully validate based on forms validation rules and constraints. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate)
-The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + Returns whether an element will successfully validate based on forms validation rules and constraints. -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate)
-When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + Returns whether an element will successfully validate based on forms validation rules and constraints. -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate)
-If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + Returns whether an element will successfully validate based on forms validation rules and constraints. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/willValidate)
- addEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate)
-/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + Returns whether an element will successfully validate based on forms validation rules and constraints. - removeEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate)
-/** Returns an HTMLCollection of the option elements of the datalist element.
+ Returns whether an element will successfully validate based on forms validation rules and constraints.
*/ - Returns an HTMLOptionsCollection of the list of options.
*/ + willValidate:boolean; - options:HTMLCollectionOf|HTMLOptionsCollection; +/** Returns whether a form will validate when it is submitted, without having to submit it.
-/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + Returns whether a form will validate when it is submitted, without having to submit it. -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity)
-When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + Returns whether a form will validate when it is submitted, without having to submit it. -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checkValidity)
-When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + Returns whether a form will validate when it is submitted, without having to submit it. -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity)
-The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity)
- addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + Returns whether a form will validate when it is submitted, without having to submit it. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/checkValidity)
*/ - removeEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + checkValidity():CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity)
- open:boolean; + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity)
-/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity)
-The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/reportValidity)
-When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity)
-When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity)
-When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity)
-If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity)
*/ -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ + reportValidity():CssChainT; - addEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +/** Sets a custom error message that is displayed when a form is submitted.
-/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity)
*/ - removeEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + setCustomValidity(error: string):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1590,15 +2254,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - removeEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -1610,111 +2269,114 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + addEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - removeEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Sets or retrieves how the object is aligned with adjacent text.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - Sets or retrieves a value that indicates the table alignment.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - Sets or retrieves the alignment of the caption or legend.
+ removeEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - Sets or retrieves the alignment of the object relative to the display or table.
*/ +/** Gets or sets the height of a canvas element on a document. - align:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/height)
-/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + Sets or retrieves the height of the object.
-The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + Sets or retrieves the height of the object. -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)
-When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + Sets or retrieves the height of the object. -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)
-If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + Sets or retrieves the height of the object. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
- addEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + Gets or sets the height of the video element. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/height)
- removeEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + Sets or retrieves the height of the object. -/** Sets or retrieves a URL to be loaded by the object.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height)
*/ - The address or URL of the a media resource that is to be considered.
+ height:number|string; - Retrieves the URL to an external file that contains the source code or data.
*/ +/** Gets or sets the width of a canvas element on a document. - src:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/width)
+ Sets or retrieves the width of the object.
- getSVGDocument():CssChainT; + Sets or retrieves the width of the object. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/width)
-The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + Sets or retrieves the width of the object. -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)
-When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + Sets or retrieves the width of the object. -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)
-If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + Gets or sets the width of the video element. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width)
- addEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + Sets or retrieves the width of the object. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/width)
- removeEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + Sets or gets a value that you can use to implement your own width functionality for the object.
*/ -/** Returns an HTMLCollection of the form controls in the element.
+ width:number|string; - Retrieves a collection, in source order, of all controls in a given form.
*/ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/captureStream)
*/ - elements:HTMLCollection|HTMLFormControlsCollection; + captureStream(frameRequestRate?: number):CssChainT; -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings):CssChainT; -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings):CssChainT; -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + getContext(contextId: "webgl", options?: WebGLContextAttributes):CssChainT; -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ - addEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + getContext(contextId: "webgl2", options?: WebGLContextAttributes):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
*/ - removeEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + getContext(contextId: string, options?: any):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toBlob)
*/ - color:string; + toBlob(callback: BlobCallback, type?: string, quality?: any):CssChainT; -/** Sets or retrieves the current typeface family.
*/ +/** Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.
*/ - face:string; + toDataURL(type?: string, quality?: any):CssChainT; -/** Sets or retrieves the number of rows in the list box.
*/ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen)
*/ - size:string|number; + transferControlToOffscreen():CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1728,56 +2390,80 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - acceptCharset:string; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Sets or retrieves the URL to which the form content is sent for processing.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - action:string; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Specifies whether autocomplete is applied to an editable text field.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - autocomplete:string; + addEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Sets or retrieves the MIME encoding for the form.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - encoding:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. -/** Sets or retrieves the encoding type for the form.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - enctype:string; + removeEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Sets or retrieves the number of objects in a collection.
*/ - length:number; + compact:boolean; -/** Sets or retrieves how to send the form data to the server.
*/ +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - method:string; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Designates a form that is not validated when submitted.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - noValidate:boolean; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - requestSubmit(submitter?: HTMLElement | null):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Fires when the user resets a form.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - reset():CssChainT; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. -/** Fires when a FORM is about to be submitted.
*/ +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - submit():CssChainT; +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1791,49 +2477,62 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Retrieves the document object of the page or frame.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - contentDocument:Document|null; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Retrieves the object of the specified.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - contentWindow:WindowProxy|null; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Sets or retrieves whether to display a border for the frame.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - frameBorder:string; + addEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Sets or retrieves a URI to a long description of the object.
+/** Removes the event listener in target's event listener list with the same type, callback, and options. - Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - longDesc:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ -/** Sets or retrieves the top and bottom margin heights before displaying the text in a frame.
*/ + removeEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - marginHeight:string; +/** Returns an HTMLCollection of the option elements of the datalist element. -/** Sets or retrieves the left and right margin widths before displaying the text in a frame.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options)
- marginWidth:string; + Returns an HTMLOptionsCollection of the list of options. -/** Sets or retrieves whether the user can resize the frame.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options)
*/ - noResize:boolean; + options:HTMLCollectionOf|HTMLOptionsCollection; -/** Sets or retrieves whether the frame can be scrolled.
*/ +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - scrolling:string; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -1845,25 +2544,26 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - removeEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Sets or retrieves the frame widths of the object.
+[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - Sets or retrieves the width of the object.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - cols:string|number; + removeEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Sets or retrieves the frame heights of the object.
+/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open)
- Sets or retrieves the number of horizontal rows contained in the object.
*/ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/open)
*/ - rows:string|HTMLCollectionOf|number; + open:boolean; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1877,17 +2577,57 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Sets or retrieves whether the horizontal rule is drawn with 3-D shading.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - noShade:boolean; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/returnValue)
*/ + + returnValue:string; + +/** Closes the dialog element. + +The argument, if provided, provides a return value. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close)
*/ + + close(returnValue?: string):CssChainT; + +/** Displays the dialog element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/show)
*/ + + show():CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/showModal)
*/ + + showModal():CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1901,15 +2641,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -1921,13 +2656,20 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + addEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - removeEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1941,17 +2683,45 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Sets or retrieves the DTD version that governs the current document.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - version:string; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves how the object is aligned with adjacent text.
+ + Sets or retrieves a value that indicates the table alignment.
+ + Sets or retrieves the alignment of the caption or legend.
+ + Sets or retrieves the alignment of the object relative to the display or table.
*/ + + align:string; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1965,26 +2735,65 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - allow:string; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - allowFullscreen:boolean; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - sandbox:DOMTokenList; + addEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Sets or retrives the content of the page that is to contain.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - srcdoc:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves a URL to be loaded by the object.
+ + Sets or retrieves a URL to be loaded by the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/src)
+ + The address or URL of the a media resource that is to be considered. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src)
+ + The address or URL of the a media resource that is to be considered.
+ + The address or URL of the a media resource that is to be considered. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/src)
+ + Retrieves the URL to an external file that contains the source code or data.
+ + The address or URL of the a media resource that is to be considered. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src)
*/ + + src:string; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument)
*/ + + getSVGDocument():CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -1998,79 +2807,100 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Specifies the properties of a border drawn around an object.
+When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - Sets or retrieves the width of the border to draw around the object.
*/ +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - border:string; +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -/** Retrieves whether the object is fully loaded.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - complete:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + addEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - crossOrigin:string|null; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - currentSrc:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + removeEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - decoding:"async"|"sync"|"auto"; +/** Returns an HTMLCollection of the form controls in the element. -/** Sets or retrieves the width of the border to draw around the object.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
- hspace:number; + Retrieves a collection, in source order, of all controls in a given form. -/** Sets or retrieves whether the image is a server-side image map.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)
*/ - isMap:boolean; + elements:HTMLCollection|HTMLFormControlsCollection; -/** Sets or retrieves the policy for loading image elements that are outside the viewport.
*/ +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - loading:"eager"|"lazy"; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - lowsrc:string; +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. -/** The original height of the image resource before sizing.
*/ +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - naturalHeight:number; +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -/** The original width of the image resource before sizing.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - naturalWidth:number; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - sizes:string|DOMTokenList; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - srcset:string; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - useMap:string; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Sets or retrieves the vertical margin for the object.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - vspace:number; + addEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. - x:number; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - y:number; + removeEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - decode():CssChainT; + color:string; + +/** Sets or retrieves the current typeface family.
*/ + + face:string; + +/** Sets or retrieves the number of rows in the list box. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size)
*/ + + size:string|number; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2078,143 +2908,1670 @@ The options argument sets listener-specific options. For compatibility this can When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/acceptCharset)
*/ + + acceptCharset:string; + +/** Sets or retrieves the URL to which the form content is sent for processing. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)
*/ + + action:string; + +/** Specifies whether autocomplete is applied to an editable text field. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)
+ + Specifies whether autocomplete is applied to an editable text field. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete)
*/ + + autocomplete:string; + +/** Sets or retrieves the MIME encoding for the form. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/encoding)
*/ + + encoding:string; + +/** Sets or retrieves the encoding type for the form. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/enctype)
*/ + + enctype:string; + +/** Sets or retrieves the number of objects in a collection. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/length)
+ + Sets or retrieves the number of objects in a collection. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length)
*/ + + length:number; + +/** Sets or retrieves how to send the form data to the server. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/method)
*/ + + method:string; + +/** Designates a form that is not validated when submitted. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
*/ + + noValidate:boolean; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/requestSubmit)
*/ + + requestSubmit(submitter?: HTMLElement | null):CssChainT; + +/** Fires when the user resets a form. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset)
*/ + + reset():CssChainT; + +/** Fires when a FORM is about to be submitted. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit)
*/ + + submit():CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Retrieves the document object of the page or frame.
+ + Retrieves the document object of the page or frame. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/contentDocument)
+ + Retrieves the document object of the page or frame. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/contentDocument)
*/ + + contentDocument:Document|null; + +/** Retrieves the object of the specified.
+ + Retrieves the object of the specified. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/contentWindow)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/contentWindow)
*/ + + contentWindow:WindowProxy|null; + +/** Sets or retrieves whether to display a border for the frame.
*/ + + frameBorder:string; + +/** Sets or retrieves a URI to a long description of the object.
+ + Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
*/ + + longDesc:string; + +/** Sets or retrieves the top and bottom margin heights before displaying the text in a frame.
*/ + + marginHeight:string; + +/** Sets or retrieves the left and right margin widths before displaying the text in a frame.
*/ + + marginWidth:string; + +/** Sets or retrieves whether the user can resize the frame.
*/ + + noResize:boolean; + +/** Sets or retrieves whether the frame can be scrolled.
*/ + + scrolling:string; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves the frame widths of the object.
+ + Sets or retrieves the width of the object.
*/ + + cols:string|number; + +/** Sets or retrieves the frame heights of the object.
+ + Sets or retrieves the number of horizontal rows contained in the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/rows)
+ + Sets or retrieves the number of horizontal rows contained in the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows)
+ + Sets or retrieves the number of horizontal rows contained in the object.
*/ + + rows:string|HTMLCollectionOf|number; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves whether the horizontal rule is drawn with 3-D shading.
*/ + + noShade:boolean; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves the DTD version that governs the current document.
*/ + + version:string; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + + + allow:string; + + + allowFullscreen:boolean; + +/** Sets or retrieves the policy for loading image elements that are outside the viewport. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
*/ + + loading:string|"eager"|"lazy"; + + + sandbox:DOMTokenList; + +/** Sets or retrives the content of the page that is to contain. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/srcdoc)
*/ + + srcdoc:string; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Specifies the properties of a border drawn around an object.
+ + Sets or retrieves the width of the border to draw around the object.
*/ + + border:string; + +/** Retrieves whether the object is fully loaded. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/complete)
*/ + + complete:boolean; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/crossOrigin)
*/ + + crossOrigin:string|null; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/currentSrc)
+ + Gets the address or URL of the current media resource that is selected by IHTMLMediaElement. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/currentSrc)
*/ + + currentSrc:string; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding)
*/ + + decoding:"async"|"sync"|"auto"; + +/** Sets or retrieves the width of the border to draw around the object.
*/ + + hspace:number; + +/** Sets or retrieves whether the image is a server-side image map. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap)
*/ + + isMap:boolean; + + + lowsrc:string; + +/** The original height of the image resource before sizing. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)
*/ + + naturalHeight:number; + +/** The original width of the image resource before sizing. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalWidth)
*/ + + naturalWidth:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes)
*/ + + sizes:string|DOMTokenList; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset)
*/ + + srcset:string; + +/** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)
+ + Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
+ + Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap)
*/ + + useMap:string; + +/** Sets or retrieves the vertical margin for the object.
*/ + + vspace:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)
*/ + + x:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)
*/ + + y:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)
*/ + + decode():CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Sets or retrieves a comma-separated list of content types.
*/ + + accept:string; + + + capture:string; + +/** Sets or retrieves the state of the check box or radio button.
*/ + + checked:boolean; + +/** Sets or retrieves the state of the check box or radio button.
*/ + + defaultChecked:boolean; + +/** Sets or retrieves the initial contents of the object.
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue)
*/ + + defaultValue:string; + + + dirName:string; + +/** Returns a FileList object on a file type input object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/files)
*/ + + files:FileList|null; + +/** When set, overrides the rendering of checkbox controls so that the current value is not visible. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
*/ + + indeterminate:boolean; + +/** Specifies the ID of a pre-defined datalist of options for an input element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list)
*/ + + list:HTMLDataListElement|null; + +/** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max)
+ + Defines the maximum, or "done" value for a progress element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/max)
*/ + + max:string|number; + +/** Sets or retrieves the maximum number of characters that the user can enter in a text control.
*/ + + maxLength:number; + +/** Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min)
*/ + + min:string|number; + + + minLength:number; + +/** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)
+ + Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple)
*/ + + multiple:boolean; + +/** Gets or sets a string containing a regular expression that the user's input must match. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern)
*/ + + pattern:string; + +/** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder)
+ + Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
*/ + + placeholder:string; + +/** Sets or retrieves the value indicated whether the content of the object is read-only.
*/ + + readOnly:boolean; + +/** When present, marks an element that can't be submitted without a value. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required)
+ + When present, marks an element that can't be submitted without a value. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required)
+ + When present, marks an element that can't be submitted without a value.
*/ + + required:boolean; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection)
*/ + + selectionDirection:"forward"|"backward"|"none"|null; + +/** Gets or sets the end position or offset of a text selection.
*/ + + selectionEnd:number|null; + +/** Gets or sets the starting position or offset of a text selection.
*/ + + selectionStart:number|null; + +/** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
*/ + + step:string; + +/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
*/ + + valueAsDate:Date|null; + +/** Returns the input field value as a number.
*/ + + valueAsNumber:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries)
*/ + + webkitEntries:ReadonlyArray; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)
*/ + + webkitdirectory:boolean; + +/** Makes the selection equal to the current object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select)
+ + Highlights the input area of a form element.
*/ + + select():CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText)
*/ + + setRangeText(replacement: string):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText)
*/ + + setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode):CssChainT; + +/** Sets the start and end positions of a selection in a text field.
*/ + + setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/showPicker)
*/ + + showPicker():CssChainT; + +/** Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
*/ + + stepDown(n?: number):CssChainT; + +/** Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.
*/ + + stepUp(n?: number):CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Returns the form control that is associated with this element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/control)
*/ + + control:HTMLElement|null; + +/** Sets or retrieves the object to which the given label object is assigned. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/htmlFor)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor)
+ + Sets or retrieves the object that is bound to the event script.
*/ + + htmlFor:string|DOMTokenList; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/as)
*/ + + as:string; + + + imageSizes:string; + + + imageSrcset:string; + + + integrity:string; + +/** Sets or retrieves the media type.
+ + Gets or sets the intended media type of the media source. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media)
+ + Sets or retrieves the media type. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/media)
*/ + + media:string; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Retrieves a collection of the area objects defined for the given map object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas)
*/ + + areas:HTMLCollection; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + + + behavior:string; + + + direction:string; + +/** Gets or sets a flag to specify whether playback should restart after it completes. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loop)
*/ + + loop:number|boolean; + + + scrollAmount:number; + + + scrollDelay:number; + + + trueSpeed:boolean; + + + start():CssChainT; + + + stop():CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Gets or sets a value that indicates whether to start playing the media automatically. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/autoplay)
*/ + + autoplay:boolean; + +/** Gets a collection of buffered time ranges. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/buffered)
*/ + + buffered:TimeRanges; + +/** Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player). + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/controls)
*/ + + controls:boolean; + +/** Gets or sets the current playback position, in seconds. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/currentTime)
*/ + + currentTime:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/defaultMuted)
*/ + + defaultMuted:boolean; + +/** Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)
*/ + + defaultPlaybackRate:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/disableRemotePlayback)
*/ + + disableRemotePlayback:boolean; + +/** Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/duration)
*/ + + duration:number; + +/** Gets information about whether the playback has ended or not. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended)
*/ + + ended:boolean; + +/** Returns an object representing the current error state of the audio or video element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/error)
*/ + + error:MediaError|null; + +/** Available only in secure contexts. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/mediaKeys)
*/ + + mediaKeys:MediaKeys|null; + +/** Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/muted)
*/ + + muted:boolean; + +/** Gets the current network activity for the element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/networkState)
*/ + + networkState:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event)
*/ + + onencrypted:((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any)|null; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event)
*/ + + onwaitingforkey:((this: HTMLMediaElement, ev: Event) => any)|null; + +/** Gets a flag that specifies whether playback is paused. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/paused)
*/ + + paused:boolean; + +/** Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)
*/ + + playbackRate:number; + +/** Gets TimeRanges for the current media resource that has been played. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played)
*/ + + played:TimeRanges; + +/** Gets or sets a value indicating what data should be preloaded, if any. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/preload)
*/ + + preload:"none"|"metadata"|"auto"|""; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/preservesPitch)
*/ + + preservesPitch:boolean; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/readyState)
+ + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState)
*/ + + readyState:number; + + + remote:RemotePlayback; + +/** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable)
*/ + + seekable:TimeRanges; + +/** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking)
*/ + + seeking:boolean; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/srcObject)
*/ + + srcObject:MediaProvider|null; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/textTracks)
*/ + + textTracks:TextTrackList; + +/** Gets or sets the volume level for audio portions of the media element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)
*/ + + volume:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack)
*/ + + addTextTrack(kind: TextTrackKind, label?: string, language?: string):CssChainT; + +/** Returns a string that specifies whether the client can play a given media resource type. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canPlayType)
*/ + + canPlayType(type: string):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/fastSeek)
*/ + + fastSeek(time: number):CssChainT; + +/** Resets the audio or video object and loads a new media resource. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/load)
*/ + + load():CssChainT; + +/** Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause)
*/ + + pause():CssChainT; + +/** Loads and starts playback of a media resource. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play)
*/ + + play():CssChainT; + +/** Available only in secure contexts. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/setMediaKeys)
*/ + + setMediaKeys(mediaKeys: MediaKeys | null):CssChainT; + + + NETWORK_EMPTY:0; + + + NETWORK_IDLE:1; + + + NETWORK_LOADING:2; + + + NETWORK_NO_SOURCE:3; + + + HAVE_NOTHING:0; + + + HAVE_METADATA:1; + + + HAVE_CURRENT_DATA:2; + + + HAVE_FUTURE_DATA:3; + + + HAVE_ENOUGH_DATA:4; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/disablePictureInPicture)
*/ -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + disablePictureInPicture:boolean; -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event)
*/ -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ + onenterpictureinpicture:((this: HTMLVideoElement, ev: Event) => any)|null; - addEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + onleavepictureinpicture:((this: HTMLVideoElement, ev: Event) => any)|null; - removeEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.
*/ -/** Sets or retrieves a comma-separated list of content types.
*/ + playsInline:boolean; - accept:string; +/** Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/poster)
*/ - capture:string; + poster:string; -/** Sets or retrieves the state of the check box or radio button.
*/ +/** Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known. - checked:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/videoHeight)
*/ -/** Sets or retrieves the state of the check box or radio button.
*/ + videoHeight:number; - defaultChecked:boolean; +/** Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known. -/** Sets or retrieves the initial contents of the object.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/videoWidth)
*/ - defaultValue:string; + videoWidth:number; - dirName:string; + cancelVideoFrameCallback(handle: number):CssChainT; -/** Returns a FileList object on a file type input object.
*/ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality)
*/ - files:FileList|null; + getVideoPlaybackQuality():CssChainT; -/** When set, overrides the rendering of checkbox controls so that the current value is not visible.
*/ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture)
*/ - indeterminate:boolean; + requestPictureInPicture():CssChainT; -/** Specifies the ID of a pre-defined datalist of options for an input element.
*/ - list:HTMLElement|null; + requestVideoFrameCallback(callback: VideoFrameRequestCallback):CssChainT; -/** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
+/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - Defines the maximum, or "done" value for a progress element.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - max:string|number; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Sets or retrieves the maximum number of characters that the user can enter in a text control.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - maxLength:number; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - min:string|number; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - minLength:number; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. -/** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
*/ +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - multiple:boolean; +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. -/** Gets or sets a string containing a regular expression that the user's input must match.
*/ +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - pattern:string; +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -/** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - placeholder:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Sets or retrieves the value indicated whether the content of the object is read-only.
*/ + addEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - readOnly:boolean; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** When present, marks an element that can't be submitted without a value.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - required:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + removeEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - selectionDirection:"forward"|"backward"|"none"|null; +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Gets or sets the end position or offset of a text selection.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - selectionEnd:number|null; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Gets or sets the starting position or offset of a text selection.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - selectionStart:number|null; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - step:string; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - valueAsDate:Date|null; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. -/** Returns the input field value as a number.
*/ +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - valueAsNumber:number; +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - webkitEntries:ReadonlyArray; +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - webkitdirectory:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Makes the selection equal to the current object.
+ addEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - Highlights the input area of a form element.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - select():CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - setRangeText(replacement: string):CssChainT; + removeEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Gets or sets meta-information to associate with httpEquiv or name.
- setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode):CssChainT; + Returns the template contents (a DocumentFragment). -/** Sets the start and end positions of a selection in a text field.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
*/ - setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"):CssChainT; + content:string|DocumentFragment; -/** Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
*/ +/** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
*/ - stepDown(n?: number):CssChainT; + httpEquiv:string; -/** Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.
*/ +/** Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.
*/ - stepUp(n?: number):CssChainT; + scheme:string; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2228,15 +4585,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2248,23 +4600,32 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + addEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - removeEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Returns the form control that is associated with this element.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - control:HTMLElement|null; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ -/** Sets or retrieves the object to which the given label object is assigned.
+ removeEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - Sets or retrieves the object that is bound to the event script.
*/ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high)
*/ - htmlFor:string|DOMTokenList; + high:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low)
*/ + + low:number; + +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum)
*/ + + optimum:number; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2278,15 +4639,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2298,31 +4654,38 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - removeEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - as:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + removeEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - imageSizes:string; +/** Sets or retrieves reference information about the object. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
- imageSrcset:string; + Sets or retrieves reference information about the object. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
*/ - integrity:string; + cite:string; -/** Sets or retrieves the media type.
+/** Sets or retrieves the date and time of a modification to the object. - Gets or sets the intended media type of the media source.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime)
- media:string; + [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTimeElement/dateTime)
*/ + + dateTime:string; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2336,19 +4699,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - removeEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - -/** Retrieves a collection of the area objects defined for the given map object.
*/ - - areas:HTMLCollection; - -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2360,40 +4714,41 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - behavior:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + addEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - direction:string; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Gets or sets a flag to specify whether playback should restart after it completes.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - loop:number|boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + removeEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - scrollAmount:number; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/reversed)
*/ + reversed:boolean; - scrollDelay:number; +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - trueSpeed:boolean; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - start():CssChainT; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - stop():CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2405,164 +4760,180 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - -/** Gets or sets a value that indicates whether to start playing the media automatically.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - autoplay:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Gets a collection of buffered time ranges.
*/ + addEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - buffered:TimeRanges; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - controls:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ -/** Gets or sets the current playback position, in seconds.
*/ + removeEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - currentTime:number; +/** Sets or retrieves a character string that can be used to implement your own archive functionality for the object.
*/ + archive:string; - defaultMuted:boolean; +/** Sets or retrieves the URL of the file containing the compiled Java class.
*/ -/** Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.
*/ + code:string; - defaultPlaybackRate:number; +/** Sets or retrieves the URL of the component.
*/ + codeBase:string; - disableRemotePlayback:boolean; +/** Sets or retrieves the Internet media type for the code associated with the object.
*/ -/** Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.
*/ + codeType:string; - duration:number; +/** Sets or retrieves the URL that references the data of the object. -/** Gets information about whether the playback has ended or not.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data)
*/ - ended:boolean; + data:string; -/** Returns an object representing the current error state of the audio or video element.
*/ - error:MediaError|null; + declare:boolean; -/** Available only in secure contexts.
*/ +/** Sets or retrieves a message to be displayed while an object is loading.
*/ - mediaKeys:MediaKeys|null; + standby:string; -/** Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.
*/ +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - muted:boolean; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. -/** Gets the current network activity for the element.
*/ +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - networkState:number; +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - onencrypted:((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any)|null; +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - onwaitingforkey:((this: HTMLMediaElement, ev: Event) => any)|null; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Gets a flag that specifies whether playback is paused.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - paused:boolean; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - playbackRate:number; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Gets TimeRanges for the current media resource that has been played.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - played:TimeRanges; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Gets or sets a value indicating what data should be preloaded, if any.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - preload:"none"|"metadata"|"auto"|""; + addEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. - readyState:number; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - remote:RemotePlayback; + removeEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
*/ +/** Sets or retrieves a value that you can use to implement your own label functionality for the object. - seekable:TimeRanges; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
-/** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.
*/ + Sets or retrieves a value that you can use to implement your own label functionality for the object. - seeking:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
+ [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label)
*/ - srcObject:MediaProvider|null; + label:string; +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - textTracks:TextTrackList; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. -/** Gets or sets the volume level for audio portions of the media element.
*/ +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - volume:number; +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - addTextTrack(kind: TextTrackKind, label?: string, language?: string):CssChainT; +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -/** Returns a string that specifies whether the client can play a given media resource type.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - canPlayType(type: string):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - fastSeek(time: number):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Resets the audio or video object and loads a new media resource.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - load():CssChainT; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - pause():CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Loads and starts playback of a media resource.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - play():CssChainT; + addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Available only in secure contexts.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - setMediaKeys(mediaKeys: MediaKeys | null):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - HAVE_CURRENT_DATA:number; + removeEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Sets or retrieves the status of an option. - HAVE_ENOUGH_DATA:number; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
*/ + defaultSelected:boolean; - HAVE_FUTURE_DATA:number; +/** Sets or retrieves the ordinal position of an option in a list box. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
*/ - HAVE_METADATA:number; + index:number; +/** Sets or retrieves whether the option in the list box is the default item. - HAVE_NOTHING:number; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
*/ + selected:boolean; - NETWORK_EMPTY:number; +/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - NETWORK_IDLE:number; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - NETWORK_LOADING:number; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - NETWORK_NO_SOURCE:number; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2574,13 +4945,20 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - removeEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2594,44 +4972,35 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - - - disablePictureInPicture:boolean; - +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - onenterpictureinpicture:((this: HTMLVideoElement, ev: Event) => any)|null; - - - onleavepictureinpicture:((this: HTMLVideoElement, ev: Event) => any)|null; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - playsInline:boolean; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - poster:string; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -/** Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.
*/ +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - videoHeight:number; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - videoWidth:number; + addEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. - getVideoPlaybackQuality():CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - requestPictureInPicture():CssChainT; + removeEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2645,15 +5014,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2665,27 +5029,24 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Gets or sets meta-information to associate with httpEquiv or name.
+ addEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - Returns the template contents (a DocumentFragment).
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - content:string|DocumentFragment; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. -/** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - httpEquiv:string; + removeEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.
*/ +/** Sets or retrieves the data type of the value attribute.
*/ - scheme:string; + valueType:string; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2699,22 +5060,35 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - high:number; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - low:number; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - optimum:number; + addEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2728,23 +5102,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - -/** Sets or retrieves reference information about the object.
*/ - - cite:string; - -/** Sets or retrieves the date and time of a modification to the object.
*/ - - dateTime:string; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2756,16 +5117,20 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - removeEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - reversed:boolean; + removeEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2779,40 +5144,41 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - removeEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. -/** Sets or retrieves a character string that can be used to implement your own archive functionality for the object.
*/ +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - archive:string; +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. -/** Sets or retrieves the URL of the file containing the compiled Java class.
*/ +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - code:string; +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -/** Sets or retrieves the URL of the component.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - codeBase:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Sets or retrieves the Internet media type for the code associated with the object.
*/ + addEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - codeType:string; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Sets or retrieves the URL that references the data of the object.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - data:string; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + removeEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - declare:boolean; +/** Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar). -/** Sets or retrieves a message to be displayed while an object is loading.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/position)
*/ - standby:string; + position:number; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2826,19 +5192,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Sets or retrieves a value that you can use to implement your own label functionality for the object.
*/ - - label:string; - -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2850,25 +5207,20 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Sets or retrieves the status of an option.
*/ - - defaultSelected:boolean; + addEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Sets or retrieves the ordinal position of an option in a list box.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - index:number; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. -/** Sets or retrieves whether the option in the list box is the default item.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - selected:boolean; + removeEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2882,15 +5234,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2902,37 +5249,34 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - removeEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + addEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +/** Removes the event listener in target's event listener list with the same type, callback, and options. -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + removeEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + async:boolean; -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +/** Sets or retrieves the status of the script.
*/ - addEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + defer:boolean; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Sets or retrieves the event for which the script is written.
*/ - removeEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + event:string; -/** Sets or retrieves the data type of the value attribute.
*/ - valueType:string; + noModule:boolean; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -2946,15 +5290,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - removeEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -2966,37 +5305,42 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + addEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - removeEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + removeEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. +/** Sets or retrieves the index of the selected option in a select object. -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedIndex)
*/ -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + selectedIndex:number; -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions)
*/ - addEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + selectedOptions:HTMLCollectionOf; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Adds an element to the areas, controlRange, or options collection.
*/ - removeEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null):CssChainT; + +/** Retrieves a select object or an object from an options collection.
*/ -/** Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).
*/ + item(index: number):CssChainT; - position:number; +/** Retrieves a select object or an object from an options collection.
*/ + + namedItem(name: string):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -3010,15 +5354,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -3030,27 +5369,32 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ + addEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - removeEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** Removes the event listener in target's event listener list with the same type, callback, and options. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. - async:boolean; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ -/** Sets or retrieves the status of the script.
*/ + removeEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; - defer:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/assign)
*/ -/** Sets or retrieves the event for which the script is written.
*/ + assign(...nodes: (Element | Text)[]):CssChainT; - event:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/assignedElements)
*/ + assignedElements(options?: AssignedNodesOptions):CssChainT; - noModule:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/assignedNodes)
*/ + + assignedNodes(options?: AssignedNodesOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -3064,32 +5408,35 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. -/** Sets or retrieves the index of the selected option in a select object.
*/ +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - selectedIndex:number; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - selectedOptions:HTMLCollectionOf; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Adds an element to the areas, controlRange, or options collection.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null):CssChainT; + addEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Retrieves a select object or an object from an options collection.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - item(index: number):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. -/** Retrieves a select object or an object from an options collection.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - namedItem(name: string):CssChainT; + removeEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -3103,22 +5450,35 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - removeEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - assign(...nodes: (Element | Text)[]):CssChainT; +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - assignedElements(options?: AssignedNodesOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ - assignedNodes(options?: AssignedNodesOptions):CssChainT; + addEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -3132,13 +5492,35 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; + +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ - removeEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; + removeEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -3152,15 +5534,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -3172,13 +5549,20 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. - addEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ + + addEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. - removeEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ + + removeEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -3192,15 +5576,10 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ - - addEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; - -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ - - removeEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. -/** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. @@ -3212,15 +5591,24 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Sets or retrieves abbreviated text for the object.
*/ +/** Sets or retrieves abbreviated text for the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/abbr)
*/ abbr:string; @@ -3228,7 +5616,9 @@ The event listener is appended to target's event listener list and is not append axis:string; -/** Retrieves the position of the object in the cells collection of a row.
*/ +/** Retrieves the position of the object in the cells collection of a row. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/cellIndex)
*/ cellIndex:number; @@ -3238,11 +5628,15 @@ The event listener is appended to target's event listener list and is not append chOff:string; -/** Sets or retrieves the number columns in the table that the object should span.
*/ +/** Sets or retrieves the number columns in the table that the object should span. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
*/ colSpan:number; -/** Sets or retrieves a list of header cells that provide information for the object.
*/ +/** Sets or retrieves a list of header cells that provide information for the object. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/headers)
*/ headers:string; @@ -3250,11 +5644,15 @@ The event listener is appended to target's event listener list and is not append noWrap:boolean; -/** Sets or retrieves how many rows in a table the cell should span.
*/ +/** Sets or retrieves how many rows in a table the cell should span. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
*/ rowSpan:number; -/** Sets or retrieves the group of cells in a table to which the object's information applies.
*/ +/** Sets or retrieves the group of cells in a table to which the object's information applies. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/scope)
*/ scope:string; @@ -3273,11 +5671,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3293,11 +5713,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3313,15 +5755,39 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Sets or retrieves the number of columns in the group.
*/ +/** Sets or retrieves the number of columns in the group. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/span)
*/ span:number; @@ -3337,15 +5803,39 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Retrieves the caption object of a table.
*/ +/** Retrieves the caption object of a table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/caption)
*/ caption:HTMLTableCaptionElement|null; @@ -3369,35 +5859,51 @@ The event listener is appended to target's event listener list and is not append summary:string; -/** Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.
*/ +/** Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tBodies)
*/ tBodies:HTMLCollectionOf; -/** Retrieves the tFoot object of the table.
*/ +/** Retrieves the tFoot object of the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tFoot)
*/ tFoot:HTMLTableSectionElement|null; -/** Retrieves the tHead object of the table.
*/ +/** Retrieves the tHead object of the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tHead)
*/ tHead:HTMLTableSectionElement|null; -/** Creates an empty caption element in the table.
*/ +/** Creates an empty caption element in the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createCaption)
*/ createCaption():CssChainT; -/** Creates an empty tBody element in the table.
*/ +/** Creates an empty tBody element in the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTBody)
*/ createTBody():CssChainT; -/** Creates an empty tFoot element in the table.
*/ +/** Creates an empty tFoot element in the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTFoot)
*/ createTFoot():CssChainT; -/** Returns the tHead element object if successful, or null otherwise.
*/ +/** Returns the tHead element object if successful, or null otherwise. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTHead)
*/ createTHead():CssChainT; -/** Deletes the caption element and its contents from the table.
*/ +/** Deletes the caption element and its contents from the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteCaption)
*/ deleteCaption():CssChainT; @@ -3405,11 +5911,15 @@ The event listener is appended to target's event listener list and is not append deleteRow(index: number):CssChainT; -/** Deletes the tFoot element and its contents from the table.
*/ +/** Deletes the tFoot element and its contents from the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTFoot)
*/ deleteTFoot():CssChainT; -/** Deletes the tHead element and its contents from the table.
*/ +/** Deletes the tHead element and its contents from the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTHead)
*/ deleteTHead():CssChainT; @@ -3429,23 +5939,51 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; -/** Retrieves a collection of all cells in the table row.
*/ +/** Retrieves a collection of all cells in the table row. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/cells)
*/ cells:HTMLCollectionOf; -/** Retrieves the position of the object in the rows collection for the table.
*/ +/** Retrieves the position of the object in the rows collection for the table. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/rowIndex)
*/ rowIndex:number; -/** Retrieves the position of the object in the collection.
*/ +/** Retrieves the position of the object in the collection. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex)
*/ sectionRowIndex:number; @@ -3469,11 +6007,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3489,11 +6049,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3509,14 +6091,37 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength)
*/ textLength:number; @@ -3536,11 +6141,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3556,11 +6183,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3576,38 +6225,65 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default)
*/ default:boolean; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind)
*/ kind:string; +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang)
*/ srclang:string; -/** Returns the TextTrack object corresponding to the text track of the track element.
*/ +/** Returns the TextTrack object corresponding to the text track of the track element. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track)
*/ track:TextTrack; - ERROR:number; + NONE:0; - LOADED:number; + LOADING:1; - LOADING:number; + LOADED:2; - NONE:number; + ERROR:3; /** Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. @@ -3621,11 +6297,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3641,11 +6339,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; @@ -3661,11 +6381,33 @@ When set to true, options's once indicates that the callback will only be invoke If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
*/ +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) +Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + +The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + +When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + +When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + +When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + +If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + +The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
*/ addEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions):CssChainT; -/** Removes the event listener in target's event listener list with the same type, callback, and options.
*/ +/** Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) +Removes the event listener in target's event listener list with the same type, callback, and options. + +[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
*/ removeEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions):CssChainT; diff --git a/README.md b/README.md index bd9ea50..95b9ef9 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,11 @@ $([],[],[DemoElement]); * `querySelectorAll(css)` - selects all children matching `css` , returns CssChain * `$` - alias to `querySelectorAll()` * `attr(name)` (alias for `getAttribute`) returns 1st element attribute value or `undefined` for empty collection -* `attr(name, value)` (alias for `setAttribute`) sets elements attribute, returns CssChain -* `attr(name, value,css)` (alias for `setAttribute`) sets `css`-defined sub-tree elements attribute, returns CssChain +* `attr(name, val|cb(el,i,arr))` (alias for `setAttribute`) sets elements attribute, returns CssChain +* `attr(name, val|cb(el,i,arrCss,arrThis),css)` (alias for `setAttribute`) sets `css`-defined sub-tree elements attribute, returns CssChain * `prop(name)` returns 1st element property value or `undefined` for empty collection -* `prop(name, value)` sets elements attribute, returns CssChain -* `prop(name, value, css)` sets `css`-defined sub-tree elements attribute, returns CssChain +* `prop(name, val|cb(el,i,arr))` sets elements attribute, returns CssChain +* `prop(name, val|cb(el,i,arrCss,arrThis), css)` sets `css`-defined sub-tree elements attribute, returns CssChain * `parent()` - set of immediate parents of current collection, duplications removed * `parent(css)` - set of parents of current set which [matches](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches) @@ -90,8 +90,8 @@ $([],[],[DemoElement]); * `remove()` - delete all nodes, returns empty CssChain * `erase()` - removes content of collection nodes, collection nodes remain * `txt()` - returns text of whole collection -* `txt(val | cb(el,i,arr))` - sets text for each element from `val` or callback -* `txt( val, css )` sets text for children elements defined by css, returns original collection +* `txt( val | cb(el,i,arr))` - sets text for each element from `val` or callback +* `txt( val | cb(el,i,arrCss,arrThis), css )` sets text for children elements defined by css, returns original collection * `html()` - returns concatenated innerHTML of collection * `html( cb(el,i,arr) )` - sets innerHTML of each collection element * `html(htmlText)` - sets innerHTML of each collection element diff --git a/package.json b/package.json index 5e65ed0..a3446c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "css-chain", - "version": "1.1.7", + "version": "1.1.8", "description": "ApiChain and CssChain JS. Collection API inherits the Array and element API.", "browser": "CssChain.js", "module": "CssChain.js",