IPowerBiElement interface
- 扩展
-
HTMLElement
属性
| class |
|
| part |
|
| power |
|
| style | |
| text |
继承属性
| access |
该 |
| access |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| assigned |
|
| attributes | 该 |
| attribute |
|
| ATTRIBUTE_NODE | |
| autocapitalize |
|
| autocorrect |
|
| autofocus | |
| baseURI | Node 接口的只读 |
| CDATA_SECTION_NODE | 节点是 CDATASection 节点。 |
| child |
|
| child |
Node 接口的只读 |
| children | 返回子元素。 |
| class |
|
| client |
|
| client |
|
| client |
|
| client |
元素 |
| COMMENT_NODE | 节点是注释节点。 |
| content |
|
| current |
|
| dataset | |
| dir | 该 |
| DOCUMENT_FRAGMENT_NODE | 节点是 DocumentFragment 节点。 |
| DOCUMENT_NODE | 节点是文档。 |
| DOCUMENT_POSITION_CONTAINED_BY | 当其他节点是节点的后代时设置。 |
| DOCUMENT_POSITION_CONTAINS | 当其他节点是节点的上级时设置。 |
| DOCUMENT_POSITION_DISCONNECTED | 当节点和其他节点不在同一树中时设置。 |
| DOCUMENT_POSITION_FOLLOWING | 当其他节点位于以下节点时设置。 |
| DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | |
| DOCUMENT_POSITION_PRECEDING | 设置其他节点之前的节点。 |
| DOCUMENT_TYPE_NODE | node 是 doctype。 |
| draggable |
|
| ELEMENT_NODE | node 是一个元素。 |
| enter |
|
| ENTITY_NODE | |
| ENTITY_REFERENCE_NODE | |
| first |
Node 接口的只读 |
| first |
返回作为元素的第一个子级,否则返回 null。 |
| hidden | HTMLElement 属性 |
| id |
|
| inert | HTMLElement 属性 |
| innerHTML |
|
| inner |
|
| input |
|
| is |
Node 接口的只读 |
| is |
|
| lang |
|
| last |
Node 接口的只读 |
| last |
返回作为元素的最后一个子级,否则返回 null。 |
| local |
|
| namespaceURI |
|
| next |
返回作为元素的第一个同级,否则返回 null。 |
| next |
Node 接口的只读 |
| node |
Node 的只读 |
| node |
Node 接口的只读 |
| node |
|
| nonce | |
| NOTATION_NODE | |
| offset |
|
| offset |
|
| offset |
|
| offset |
|
| offset |
|
| onabort | |
| onanimationcancel | |
| onanimationend | |
| onanimationiteration | |
| onanimationstart | |
| onauxclick | |
| onbeforeinput | |
| onbeforematch | |
| onbeforetoggle | |
| onblur | |
| oncancel | |
| oncanplay | |
| oncanplaythrough | |
| onchange | |
| onclick | |
| onclose | |
| oncontextlost | |
| oncontextmenu | |
| oncontextrestored | |
| oncopy | |
| oncuechange | |
| oncut | |
| ondblclick | |
| ondrag | |
| ondragend | |
| ondragenter | |
| ondragleave | |
| ondragover | |
| ondragstart | |
| ondrop | |
| ondurationchange | |
| onemptied | |
| onended | |
| onerror | |
| onfocus | |
| onformdata | |
| onfullscreenchange | |
| onfullscreenerror | |
| ongotpointercapture | |
| oninput | |
| oninvalid | |
| onkeydown | |
| onkeypress | |
| onkeyup | |
| onload | |
| onloadeddata | |
| onloadedmetadata | |
| onloadstart | |
| onlostpointercapture | |
| onmousedown | |
| onmouseenter | |
| onmouseleave | |
| onmousemove | |
| onmouseout | |
| onmouseover | |
| onmouseup | |
| onpaste | |
| onpause | |
| onplay | |
| onplaying | |
| onpointercancel | |
| onpointerdown | |
| onpointerenter | |
| onpointerleave | |
| onpointermove | |
| onpointerout | |
| onpointerover | |
| onpointerrawupdate | 仅在安全上下文中可用。 |
| onpointerup | |
| onprogress | |
| onratechange | |
| onreset | |
| onresize | |
| onscroll | |
| onscrollend | |
| onsecuritypolicyviolation | |
| onseeked | |
| onseeking | |
| onselect | |
| onselectionchange | |
| onselectstart | |
| onslotchange | |
| onstalled | |
| onsubmit | |
| onsuspend | |
| ontimeupdate | |
| ontoggle | |
| ontouchcancel | |
| ontouchend | |
| ontouchmove | |
| ontouchstart | |
| ontransitioncancel | |
| ontransitionend | |
| ontransitionrun | |
| ontransitionstart | |
| onvolumechange | |
| onwaiting | |
| onwebkitanimationend | |
| onwebkitanimationiteration | |
| onwebkitanimationstart | |
| onwebkittransitionend | |
| onwheel | |
| outerHTML |
|
| outer |
|
| owner |
Node 接口的只读 |
| parent |
Node 接口的只读 |
| parent |
Node 接口的只读 |
| popover |
|
| prefix |
|
| previous |
返回前一个是元素的同级,否则返回 null。 |
| previous |
Node 接口的只读 |
| PROCESSING_INSTRUCTION_NODE | 节点是 ProcessingInstruction 节点。 |
| role | |
| scroll |
|
| scroll |
|
| scroll |
|
| scroll |
|
| shadow |
|
| slot |
|
| spellcheck |
|
| tab |
|
| tag |
|
| TEXT_NODE | 节点是文本节点。 |
| title | 该 |
| translate |
|
| writing |
|
继承的方法
| add |
|
| add |
|
| after((string | Node)[]) | 在节点之后插入节点,同时将节点中的字符串替换为等效的文本节点。 如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。 |
| animate(Keyframe[] | Property |
|
| append((string | Node)[]) | 在节点的最后一个子级之后插入节点,同时将节点中的字符串替换为等效的文本节点。 如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。 |
| append |
|
| attach |
该方法 |
| attach |
该方法 |
| before((string | Node)[]) | 在节点之前插入节点,同时将节点中的字符串替换为等效的文本节点。 如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。 |
| blur() | |
| check |
|
| click() | 该方法 |
| clone |
Node |
| closest<E>(string) | |
| closest<K>(K) |
|
| closest<K>(K) | |
| closest<K>(K) | |
| compare |
Node |
| computed |
|
| contains(Node | null) |
|
| dispatch |
|
| focus(Focus |
|
| get |
|
| get |
|
| get |
|
| get |
以 Attr 节点的形式返回指定元素的指定属性。 |
| get |
|
| get |
|
| get |
该方法 |
| get |
|
| get |
Element 方法 |
| get |
|
| get |
该方法 |
| get |
|
| get |
|
| get |
|
| get |
|
| get |
该方法 |
| get |
|
| get |
|
| getHTML(Get |
|
| get |
|
| has |
该方法 |
| has |
|
| has |
|
| has |
Node |
| has |
|
| hide |
|
| insert |
对其 |
| insert |
|
| insert |
元素 |
| insert |
Node |
| is |
|
| is |
|
| is |
Node |
| lookup |
Node |
| lookup |
Node |
| matches(string) |
|
| normalize() | Node |
| prepend((string | Node)[]) | 在节点的第一个子级之前插入节点,同时将节点中的字符串替换为等效的文本节点。 如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。 |
| query |
|
| query |
返回与选择器匹配的节点后代的第一个元素。 |
| query |
|
| query |
|
| query |
|
| query |
|
| query |
返回与选择器匹配的节点的所有元素后代。 |
| query |
|
| query |
|
| query |
|
| release |
|
| remove() | 删除节点。 |
| remove |
Element 方法 |
| remove |
|
| remove |
|
| remove |
|
| remove |
|
| remove |
|
| replace |
|
| replace |
将节点的所有子级替换为节点,同时将节点中的字符串替换为等效的文本节点。 如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。 |
| replace |
将节点替换为节点,同时将节点中的字符串替换为等效的文本节点。 如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。 |
| request |
该方法 |
| request |
使用 |
| scroll(number, number) | |
| scroll(Scroll |
|
| scroll |
|
| scroll |
|
| scroll |
Element 接口 |
| scroll |
|
| scroll |
|
| set |
|
| set |
|
| set |
|
| set |
|
| set |
|
| set |
|
| show |
|
| toggle |
在 |
| toggle |
|
| webkit |
属性详细信息
classList
Element.classList这是一个只读属性,返回元素属性的实时 DOMTokenList 集合class。
DOMTokenList classList
属性值
DOMTokenList
part
part Element 接口的属性表示以 DOMTokenList 形式返回的元素(即使用part特性设置)的部件标识符(s)。
DOMTokenList part
属性值
DOMTokenList
powerBiEmbed
powerBiEmbed: Embed
属性值
Embed
style
textContent
继承属性详细信息
accessKey
该 HTMLElement.accessKey 属性设置用户可以按下的击键键跳转到给定元素。
accessKey: string
属性值
string
继承自 HTMLElement.accessKey
accessKeyLabel
HTMLElement.accessKeyLabel只读属性返回一个字符串,该字符串包含元素的浏览器分配的访问键(如果有);否则返回空字符串。
accessKeyLabel: string
属性值
string
继承自 HTMLElement.accessKeyLabel
ariaActiveDescendantElement
ariaActiveDescendantElement: Element | null
属性值
Element | null
继承自 HTMLElement.ariaActiveDescendantElement
ariaAtomic
ariaAutoComplete
ariaBrailleLabel
ariaBrailleRoleDescription
ariaBrailleRoleDescription: string | null
属性值
string | null
继承自 HTMLElement.ariaBrailleRoleDescription
ariaBusy
ariaChecked
ariaColCount
ariaColIndex
ariaColIndexText
ariaColSpan
ariaControlsElements
ariaControlsElements: (readonly Element[]) | null
属性值
(readonly Element[]) | null
继承自 HTMLElement.ariaControlsElements
ariaCurrent
ariaDescribedByElements
ariaDescribedByElements: (readonly Element[]) | null
属性值
(readonly Element[]) | null
继承自 HTMLElement.ariaDescribedByElements
ariaDescription
ariaDetailsElements
ariaDetailsElements: (readonly Element[]) | null
属性值
(readonly Element[]) | null
继承自 HTMLElement.ariaDetailsElements
ariaDisabled
ariaErrorMessageElements
ariaErrorMessageElements: (readonly Element[]) | null
属性值
(readonly Element[]) | null
继承自 HTMLElement.ariaErrorMessageElements
ariaExpanded
ariaFlowToElements
ariaFlowToElements: (readonly Element[]) | null
属性值
(readonly Element[]) | null
继承自 HTMLElement.ariaFlowToElements
ariaHasPopup
ariaHidden
ariaInvalid
ariaKeyShortcuts
ariaLabel
ariaLabelledByElements
ariaLabelledByElements: (readonly Element[]) | null
属性值
(readonly Element[]) | null
继承自 HTMLElement.ariaLabelledByElements
ariaLevel
ariaLive
ariaModal
ariaMultiLine
ariaMultiSelectable
ariaOrientation
ariaOwnsElements
ariaOwnsElements: (readonly Element[]) | null
属性值
(readonly Element[]) | null
继承自 HTMLElement.ariaOwnsElements
ariaPlaceholder
ariaPosInSet
ariaPressed
ariaReadOnly
ariaRelevant
ariaRequired
ariaRoleDescription
ariaRowCount
ariaRowIndex
ariaRowIndexText
ariaRowSpan
ariaSelected
ariaSetSize
ariaSort
ariaValueMax
ariaValueMin
ariaValueNow
ariaValueText
assignedSlot
attributes
该 Element.attributes 属性返回已注册到指定节点的所有属性节点的实时集合。
attributes: NamedNodeMap
属性值
NamedNodeMap
继承自 HTMLElement.attributes
attributeStyleMap
ATTRIBUTE_NODE
ATTRIBUTE_NODE: 2
属性值
2
继承自 HTMLElement.ATTRIBUTE_NODE 的
autocapitalize
autocapitalize HTMLElement 接口的属性表示用户输入的元素大写行为。
autocapitalize: string
属性值
string
继承自 HTMLElement.autocapitalize
autocorrect
autocorrect HTMLElement 接口的属性控制是否为拼写和/或标点错误启用了可编辑文本的自动更正。
autocorrect: boolean
属性值
boolean
继承自 HTMLElement.autocorrect
autofocus
baseURI
CDATA_SECTION_NODE
节点是 CDATASection 节点。
CDATA_SECTION_NODE: 4
属性值
4
继承自 HTMLElement.CDATA_SECTION_NODE 的
childElementCount
childNodes
Node 接口的只读 childNodes 属性返回分配了第一个子节点的实时索引 0。
childNodes: NodeListOf<ChildNode>
属性值
NodeListOf<ChildNode>
继承自 HTMLElement.childNodes
children
className
clientHeight
clientHeight对于没有 CSS 或内联布局框的元素,元素接口的只读属性为零;否则,它是元素的内部高度(以像素为单位)。
clientHeight: number
属性值
number
继承自 HTMLElement.clientHeight
clientLeft
clientLeft Element 接口的只读属性返回元素左边框的宽度(以像素为单位)。
clientLeft: number
属性值
number
继承自 HTMLElement.clientLeft
clientTop
clientTop Element 接口的只读属性返回元素上边框的宽度(以像素为单位)。
clientTop: number
属性值
number
继承自 HTMLElement.clientTop
clientWidth
元素 clientWidth 接口的只读属性对于无 CSS 的内联元素和元素为零;否则,它是元素的内部宽度(以像素为单位)。
clientWidth: number
属性值
number
继承自 HTMLElement.clientWidth
COMMENT_NODE
节点是注释节点。
COMMENT_NODE: 8
属性值
8
继承自 HTMLElement.COMMENT_NODE 的
contentEditable
currentCSSZoom
currentCSSZoom Element 接口的只读属性提供元素的“有效”CSSzoom,同时考虑到应用于元素及其所有父元素的缩放。
currentCSSZoom: number
属性值
number
继承自 HTMLElement.currentCSSZoom
dataset
dir
DOCUMENT_FRAGMENT_NODE
节点是 DocumentFragment 节点。
DOCUMENT_FRAGMENT_NODE: 11
属性值
11
继承自 HTMLElement.DOCUMENT_FRAGMENT_NODE 的
DOCUMENT_NODE
节点是文档。
DOCUMENT_NODE: 9
属性值
9
继承自 HTMLElement.DOCUMENT_NODE 的
DOCUMENT_POSITION_CONTAINED_BY
当其他节点是节点的后代时设置。
DOCUMENT_POSITION_CONTAINED_BY: 16
属性值
16
继承自 HTMLElement.DOCUMENT_POSITION_CONTAINED_BY 的
DOCUMENT_POSITION_CONTAINS
当其他节点是节点的上级时设置。
DOCUMENT_POSITION_CONTAINS: 8
属性值
8
继承自 HTMLElement.DOCUMENT_POSITION_CONTAINS 的
DOCUMENT_POSITION_DISCONNECTED
当节点和其他节点不在同一树中时设置。
DOCUMENT_POSITION_DISCONNECTED: 1
属性值
1
继承自 HTMLElement.DOCUMENT_POSITION_DISCONNECTED 的
DOCUMENT_POSITION_FOLLOWING
当其他节点位于以下节点时设置。
DOCUMENT_POSITION_FOLLOWING: 4
属性值
4
继承自 HTMLElement.DOCUMENT_POSITION_FOLLOWING 的
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
属性值
32
继承自 HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 的
DOCUMENT_POSITION_PRECEDING
设置其他节点之前的节点。
DOCUMENT_POSITION_PRECEDING: 2
属性值
2
继承自 HTMLElement.DOCUMENT_POSITION_PRECEDING 的
DOCUMENT_TYPE_NODE
node 是 doctype。
DOCUMENT_TYPE_NODE: 10
属性值
10
继承自 HTMLElement.DOCUMENT_TYPE_NODE 的
draggable
draggable HTMLElement 接口的属性获取并设置一个布尔基元,指示元素是否可拖动。
draggable: boolean
属性值
boolean
继承自 HTMLElement.draggable
ELEMENT_NODE
node 是一个元素。
ELEMENT_NODE: 1
属性值
1
继承自 HTMLElement.ELEMENT_NODE 的
enterKeyHint
ENTITY_NODE
ENTITY_NODE: 6
属性值
6
继承自 HTMLElement.ENTITY_NODE
ENTITY_REFERENCE_NODE
ENTITY_REFERENCE_NODE: 5
属性值
5
继承自 HTMLElement.ENTITY_REFERENCE_NODE 的
firstChild
Node 接口的只读 firstChild 属性返回节点在树中的第一个子级,或者 null 节点没有子级。
firstChild: ChildNode | null
属性值
ChildNode | null
继承自 HTMLElement.firstChild
firstElementChild
返回作为元素的第一个子级,否则返回 null。
firstElementChild: Element | null
属性值
Element | null
继承自 HTMLElement.firstElementChild
hidden
id
inert
innerHTML
innerHTML Element 接口的属性获取或设置元素中包含的 HTML 或 XML 标记。
innerHTML: string
属性值
string
继承自 HTMLElement.innerHTML
innerText
innerText HTMLElement 接口的属性表示节点及其后代的呈现文本内容。
innerText: string
属性值
string
继承自 HTMLElement.innerText
inputMode
isConnected
Node 接口的只读 isConnected 属性返回一个布尔值,指示节点是直接还是间接地连接到 Document 对象。
isConnected: boolean
属性值
boolean
继承自 HTMLElement.isConnected
isContentEditable
lang
lang HTMLElement 接口的属性以 MISSING 的形式指示元素属性值和文本内容的基语言:RFC(5646,“BCP 47 语言标识符标记”)]。
lang: string
属性值
string
继承自 HTMLElement.lang
lastChild
Node 接口的只读 lastChild 属性返回节点的最后一个子级,或者 null 如果没有子节点。
lastChild: ChildNode | null
属性值
ChildNode | null
继承自 HTMLElement.lastChild
lastElementChild
返回作为元素的最后一个子级,否则返回 null。
lastElementChild: Element | null
属性值
Element | null
继承自 HTMLElement.lastElementChild
localName
namespaceURI
Element.namespaceURI只读属性返回元素的命名空间 URI,或者null元素不在命名空间中。
namespaceURI: string | null
属性值
string | null
继承自 HTMLElement.namespaceURI
nextElementSibling
返回作为元素的第一个同级,否则返回 null。
nextElementSibling: Element | null
属性值
Element | null
继承自 HTMLElement.nextElementSibling
nextSibling
Node 接口的只读 nextSibling 属性将紧跟在其父节点的 Node.childNodes 中的指定节点之后返回节点,或者如果指定节点是父元素中的最后一个子节点,则返回 null 该节点。
nextSibling: ChildNode | null
属性值
ChildNode | null
继承自 HTMLElement.nextSibling
nodeName
nodeType
nodeValue
nodeValue Node 接口的属性返回或设置当前节点的值。
nodeValue: string | null
属性值
string | null
继承自 HTMLElement.nodeValue
nonce
NOTATION_NODE
NOTATION_NODE: 12
属性值
12
继承自 HTMLElement.NOTATION_NODE 的
offsetHeight
offsetHeight HTMLElement 接口的只读属性以整数形式返回元素的高度,包括垂直填充和边框。
offsetHeight: number
属性值
number
继承自 HTMLElement.offsetHeight
offsetLeft
offsetLeft HTMLElement 接口的只读属性返回当前元素左上角在 HTMLElement.offsetParent 节点中向左偏移的像素数。
offsetLeft: number
属性值
number
继承自 HTMLElement.offsetLeft
offsetParent
HTMLElement.offsetParent只读属性返回对位于包含层次结构中最接近的上级元素的元素的引用。
offsetParent: Element | null
属性值
Element | null
继承自 HTMLElement.offsetParent
offsetTop
offsetTop HTMLElement 接口的只读属性返回从当前元素的外部边框(包括其边距)到 HTMLelement.offsetParent 的上填充边缘(最接近定位的上级元素)的距离。
offsetTop: number
属性值
number
继承自 HTMLElement.offsetTop
offsetWidth
offsetWidth HTMLElement 接口的只读属性将元素的布局宽度作为整数返回。
offsetWidth: number
属性值
number
继承自 HTMLElement.offsetWidth
onabort
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: UIEvent) => any | null
继承自 HTMLElement.onabort
onanimationcancel
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
继承自 HTMLElement.onanimationcancel
onanimationend
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
继承自 HTMLElement.onanimationend
onanimationiteration
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
继承自 HTMLElement.onanimationiteration
onanimationstart
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
继承自 HTMLElement.onanimationstart
onauxclick
onauxclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onauxclick
onbeforeinput
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: InputEvent) => any | null
继承自 HTMLElement.onbeforeinput
onbeforematch
onbeforematch: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onbeforematch
onbeforetoggle
onbeforetoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: ToggleEvent) => any | null
继承自 HTMLElement.onbeforetoggle
onblur
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: FocusEvent) => any | null
继承自 HTMLElement.onblur
oncancel
oncancel: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oncancel
oncanplay
oncanplay: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oncanplay
oncanplaythrough
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oncanplaythrough
onchange
onchange: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onchange
onclick
onclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onclick
onclose
onclose: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onclose
oncontextlost
oncontextlost: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oncontextlost
oncontextmenu
oncontextmenu: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.oncontextmenu
oncontextrestored
oncontextrestored: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oncontextrestored
oncopy
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
继承自 HTMLElement.oncopy
oncuechange
oncuechange: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oncuechange
oncut
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
继承自 HTMLElement.oncut
ondblclick
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.ondblclick
ondrag
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: DragEvent) => any | null
继承自 HTMLElement.ondrag
ondragend
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: DragEvent) => any | null
继承自 HTMLElement.ondragend
ondragenter
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: DragEvent) => any | null
继承自 HTMLElement.ondragenter
ondragleave
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: DragEvent) => any | null
继承自 HTMLElement.ondragleave
ondragover
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: DragEvent) => any | null
继承自 HTMLElement.ondragover
ondragstart
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: DragEvent) => any | null
继承自 HTMLElement.ondragstart
ondrop
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: DragEvent) => any | null
继承自 HTMLElement.ondrop
ondurationchange
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.ondurationchange
onemptied
onemptied: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onemptied
onended
onended: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onended
onerror
onfocus
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: FocusEvent) => any | null
继承自 HTMLElement.onfocus
onformdata
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: FormDataEvent) => any | null
继承自 HTMLElement.onformdata
onfullscreenchange
onfullscreenchange: (this: Element, ev: Event) => any | null
属性值
(this: Element, ev: Event) => any | null
继承自 HTMLElement.onfullscreenchange
onfullscreenerror
onfullscreenerror: (this: Element, ev: Event) => any | null
属性值
(this: Element, ev: Event) => any | null
继承自 HTMLElement.onfullscreenerror
ongotpointercapture
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.ongotpointercapture
oninput
oninput: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oninput
oninvalid
oninvalid: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.oninvalid
onkeydown
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
继承自 HTMLElement.onkeydown
onkeypress
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
继承自 HTMLElement.onkeypress
onkeyup
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
继承自 HTMLElement.onkeyup
onload
onload: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onload
onloadeddata
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onloadeddata
onloadedmetadata
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onloadedmetadata
onloadstart
onloadstart: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onloadstart
onlostpointercapture
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onlostpointercapture
onmousedown
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.onmousedown
onmouseenter
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.onmouseenter
onmouseleave
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.onmouseleave
onmousemove
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.onmousemove
onmouseout
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.onmouseout
onmouseover
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.onmouseover
onmouseup
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
继承自 HTMLElement.onmouseup
onpaste
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
继承自 HTMLElement.onpaste
onpause
onpause: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onpause
onplay
onplay: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onplay
onplaying
onplaying: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onplaying
onpointercancel
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointercancel
onpointerdown
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointerdown
onpointerenter
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointerenter
onpointerleave
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointerleave
onpointermove
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointermove
onpointerout
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointerout
onpointerover
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointerover
onpointerrawupdate
仅在安全上下文中可用。
onpointerrawupdate: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onpointerrawupdate
onpointerup
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
继承自 HTMLElement.onpointerup
onprogress
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: ProgressEvent) => any | null
继承自 HTMLElement.onprogress 的
onratechange
onratechange: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onratechange
onreset
onreset: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onreset
onresize
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: UIEvent) => any | null
继承自 HTMLElement.onresize
onscroll
onscroll: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onscroll
onscrollend
onscrollend: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onscrollend
onsecuritypolicyviolation
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null
继承自 HTMLElement.onsecuritypolicyviolation
onseeked
onseeked: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onseeked
onseeking
onseeking: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onseeking
onselect
onselect: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onselect
onselectionchange
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onselectionchange
onselectstart
onselectstart: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onselectstart
onslotchange
onslotchange: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onslotchange
onstalled
onstalled: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onstalled
onsubmit
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: SubmitEvent) => any | null
继承自 HTMLElement.onsubmit
onsuspend
onsuspend: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onsuspend
ontimeupdate
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.ontimeupdate
ontoggle
ontoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: ToggleEvent) => any | null
继承自 HTMLElement.onggle
ontouchcancel
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
继承自 HTMLElement.ontouchcancel
ontouchend
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
继承自 HTMLElement.ontouchend
ontouchmove
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
继承自 HTMLElement.ontouchmove
ontouchstart
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
继承自 HTMLElement.ontouchstart
ontransitioncancel
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
继承自 HTMLElement.ontransitioncancel
ontransitionend
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
继承自 HTMLElement.ontransitionend
ontransitionrun
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
继承自 HTMLElement.ontransitionrun
ontransitionstart
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
继承自 HTMLElement.ontransitionstart
onvolumechange
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onvolumechange
onwaiting
onwaiting: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onwaiting
onwebkitanimationend
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onwebkitanimationiteration
onwebkitanimationstart
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onwebkitanimationstart
onwebkittransitionend
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any | null
属性值
(this: GlobalEventHandlers, ev: Event) => any | null
继承自 HTMLElement.onwebkittransitionend
onwheel
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any | null
属性值
(this: GlobalEventHandlers, ev: WheelEvent) => any | null
继承自 HTMLElement.onwheel
outerHTML
outerHTML Element DOM 接口的属性获取描述元素(包括其后代)的序列化 HTML 片段。
outerHTML: string
属性值
string
继承自 HTMLElement.outerHTML
outerText
outerText HTMLElement 接口的属性返回与 HTMLElement.innerText 相同的值。
outerText: string
属性值
string
继承自 HTMLElement.outerText
ownerDocument
parentElement
Node 接口的只读 parentElement 属性返回 DOM 节点的父元素,或者 null 节点没有父元素,或者其父元素不是 DOM 元素。
parentElement: HTMLElement | null
属性值
HTMLElement | null
继承自 HTMLElement.parentElement
parentNode
Node 接口的只读 parentNode 属性返回 DOM 树中指定节点的父级。
parentNode: ParentNode | null
属性值
ParentNode | null
继承自 HTMLElement.parentNode
popover
popover HTMLElement 接口的属性通过 JavaScript('auto'或'hint''manual')获取和设置元素的弹出状态,并可用于功能检测。
popover: string | null
属性值
string | null
继承自 HTMLElement.popover
prefix
Element.prefix只读属性返回指定元素的命名空间前缀,或者null未指定前缀。
prefix: string | null
属性值
string | null
继承自 HTMLElement.prefix
previousElementSibling
返回前一个是元素的同级,否则返回 null。
previousElementSibling: Element | null
属性值
Element | null
继承自 HTMLElement.previousElementSibling
previousSibling
Node 接口的只读 previousSibling 属性返回紧邻其父节点中指定节点的前面,或者 null 指定节点是该列表中的第一个节点。
previousSibling: ChildNode | null
属性值
ChildNode | null
继承自 HTMLElement.previousSibling
PROCESSING_INSTRUCTION_NODE
节点是 ProcessingInstruction 节点。
PROCESSING_INSTRUCTION_NODE: 7
属性值
7
继承自 HTMLElement.PROCESSING_INSTRUCTION_NODE 的
role
scrollHeight
scrollHeight Element 接口的只读属性是对元素内容高度的度量,包括由于溢出而在屏幕上不可见的内容。
scrollHeight: number
属性值
number
继承自 HTMLElement.scrollHeight
scrollLeft
scrollLeft Element 接口的属性获取或设置元素内容从其左边缘滚动的像素数。
scrollLeft: number
属性值
number
继承自 HTMLElement.scrollLeft
scrollTop
scrollTop Element 接口的属性获取或设置元素内容从其上边缘滚动的像素数。
scrollTop: number
属性值
number
继承自 HTMLElement.scrollTop
scrollWidth
scrollWidth元素接口的只读属性是对元素内容的宽度的度量,包括由于溢出而在屏幕上不可见的内容。
scrollWidth: number
属性值
number
继承自 HTMLElement.scrollWidth
shadowRoot
Element.shadowRoot只读属性表示元素托管的阴影根。
shadowRoot: ShadowRoot | null
属性值
ShadowRoot | null
继承自 HTMLElement.shadowRoot
slot
spellcheck
spellcheck HTMLElement 接口的属性表示控制拼写检查提示的布尔值。
spellcheck: boolean
属性值
boolean
继承自 HTMLElement.spellcheck
tabIndex
tagName
TEXT_NODE
节点是文本节点。
TEXT_NODE: 3
属性值
3
继承自 HTMLElement.TEXT_NODE 的
title
该 HTMLElement.title 属性表示元素的标题:鼠标位于节点上方时,通常显示在“工具提示”弹出窗口中的文本。
title: string
属性值
string
继承自 HTMLElement.title
translate
translate HTMLElement 接口的属性指示元素的属性值及其文本节点子级的值是在本地化页面时转换的,还是是否保持不变。
translate: boolean
属性值
boolean
继承自 HTMLElement.translate
writingSuggestions
writingSuggestions HTMLElement 接口的属性是一个字符串,指示是否应在元素范围内启用浏览器提供的写入建议。
writingSuggestions: string
属性值
string
继承自 HTMLElement.writingSuggestions
继承的方法详细信息
addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)
function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
参数
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | AddEventListenerOptions
继承自 HTMLElement.addEventListener
addEventListener<K>(K, (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, boolean | AddEventListenerOptions)
function addEventListener<K>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions)
参数
- type
-
K
- listener
-
(this: HTMLElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | AddEventListenerOptions
继承自 HTMLElement.addEventListener
after((string | Node)[])
在节点之后插入节点,同时将节点中的字符串替换为等效的文本节点。
如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。
function after(nodes: (string | Node)[])
参数
- nodes
-
(string | Node)[]
继承自 HTMLElement.after
animate(Keyframe[] | PropertyIndexedKeyframes | null, number | KeyframeAnimationOptions)
function animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation
参数
- keyframes
-
Keyframe[] | PropertyIndexedKeyframes | null
- options
-
number | KeyframeAnimationOptions
返回
Animation
继承自 HTMLElement.animate
append((string | Node)[])
在节点的最后一个子级之后插入节点,同时将节点中的字符串替换为等效的文本节点。
如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。
function append(nodes: (string | Node)[])
参数
- nodes
-
(string | Node)[]
继承自 HTMLElement.append
appendChild<T>(T)
appendChild() Node 接口的方法将节点添加到指定父节点的子节点列表的末尾。
function appendChild<T>(node: T): T
参数
- node
-
T
返回
T
继承自 HTMLElement.appendChild
attachInternals()
该方法 HTMLElement.attachInternals() 返回 ElementInternals 对象。
function attachInternals(): ElementInternals
返回
ElementInternals
继承自 HTMLElement.attachInternals
attachShadow(ShadowRootInit)
该方法 Element.attachShadow() 将阴影 DOM 树附加到指定的元素,并返回对其 ShadowRoot 的引用。
function attachShadow(init: ShadowRootInit): ShadowRoot
参数
- init
-
ShadowRootInit
返回
ShadowRoot
继承自 HTMLElement.attachShadow
before((string | Node)[])
在节点之前插入节点,同时将节点中的字符串替换为等效的文本节点。
如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。
function before(nodes: (string | Node)[])
参数
- nodes
-
(string | Node)[]
继承自 HTMLElement.before
blur()
checkVisibility(CheckVisibilityOptions)
checkVisibility()元素接口的方法检查元素是否可见。
function checkVisibility(options?: CheckVisibilityOptions): boolean
参数
- options
-
CheckVisibilityOptions
返回
boolean
继承自 HTMLElement.checkVisibility
click()
cloneNode(boolean)
Node cloneNode() 接口的方法返回调用此方法的节点的副本。
function cloneNode(subtree?: boolean): Node
参数
- subtree
-
boolean
返回
Node
继承自 HTMLElement.cloneNode
closest<E>(string)
function closest<E>(selectors: string): E | null
参数
- selectors
-
string
返回
E | null
继承自 HTMLElement.closest
closest<K>(K)
closest()元素接口的方法遍历元素及其父元素(指向文档根目录),直到找到与指定 CSS 选择器匹配的节点。
function closest<K>(selector: K): HTMLElementTagNameMap[K] | null
参数
- selector
-
K
返回
HTMLElementTagNameMap[K] | null
继承自 HTMLElement.closest
closest<K>(K)
function closest<K>(selector: K): SVGElementTagNameMap[K] | null
参数
- selector
-
K
返回
SVGElementTagNameMap[K] | null
继承自 HTMLElement.closest
closest<K>(K)
function closest<K>(selector: K): MathMLElementTagNameMap[K] | null
参数
- selector
-
K
返回
MathMLElementTagNameMap[K] | null
继承自 HTMLElement.closest
compareDocumentPosition(Node)
Node compareDocumentPosition() 接口的方法报告其自变量节点相对于调用它的节点的位置。
function compareDocumentPosition(other: Node): number
参数
- other
-
Node
返回
number
继承自 HTMLElement.compareDocumentPosition
computedStyleMap()
computedStyleMap() Element 接口的方法返回 StylePropertyMapReadOnly 接口,该接口提供 CSS 声明块的只读表示形式,这是 CSSStyleDeclaration 的替代方法。
function computedStyleMap(): StylePropertyMapReadOnly
返回
StylePropertyMapReadOnly
继承自 HTMLElement.computedStyleMap
contains(Node | null)
contains() Node 接口的方法返回一个布尔值,该值指示节点是否是给定节点的后代,即节点本身、其直接子级之一(Node.childNodes)、子级的直接子级之一等。
function contains(other: Node | null): boolean
参数
- other
-
Node | null
返回
boolean
继承自 HTMLElement.contains
dispatchEvent(Event)
dispatchEvent() EventTarget 的方法按适当的顺序将事件发送到对象(同步)调用受影响的事件侦听器。
function dispatchEvent(event: Event): boolean
参数
- event
-
Event
返回
boolean
继承自 HTMLElement.dispatchEvent
focus(FocusOptions)
getAnimations(GetAnimationsOptions)
function getAnimations(options?: GetAnimationsOptions): Animation[]
参数
- options
-
GetAnimationsOptions
返回
Animation[]
继承自 HTMLElement.getAnimations
getAttribute(string)
getAttribute()元素的方法。
function getAttribute(qualifiedName: string): string | null
参数
- qualifiedName
-
string
返回
string | null
继承自 HTMLElement.getAttribute
getAttributeNames()
getAttributeNames()数组的方法。
function getAttributeNames(): string[]
返回
string[]
继承自 HTMLElement.getAttributeNames
getAttributeNode(string)
以 Attr 节点的形式返回指定元素的指定属性。
function getAttributeNode(qualifiedName: string): Attr | null
参数
- qualifiedName
-
string
返回
Attr | null
继承自 HTMLElement.getAttributeNode
getAttributeNodeNS(string | null, string)
getAttributeNodeNS() Element 接口的方法返回元素的命名空间 Attr 节点。
function getAttributeNodeNS(namespace: string | null, localName: string): Attr | null
参数
- namespace
-
string | null
- localName
-
string
返回
Attr | null
继承自 HTMLElement.getAttributeNodeNS
getAttributeNS(string | null, string)
getAttributeNS() Element 接口的方法返回具有指定命名空间和名称的属性的字符串值。
function getAttributeNS(namespace: string | null, localName: string): string | null
参数
- namespace
-
string | null
- localName
-
string
返回
string | null
继承自 HTMLElement.getAttributeNS
getBoundingClientRect()
该方法 Element.getBoundingClientRect() 返回相对于视区的位置。
function getBoundingClientRect(): DOMRect
返回
DOMRect
继承自 HTMLElement.getBoundingClientRect
getClientRects()
getClientRects() Element 接口的方法返回 DOMRect 对象的集合,这些对象指示客户端中每个 CSS 边框框的边界矩形。
function getClientRects(): DOMRectList
返回
DOMRectList
继承自 HTMLElement.getClientRects
getElementsByClassName(string)
Element 方法 getElementsByClassName() 返回实时指定的类名或名称。
function getElementsByClassName(classNames: string): HTMLCollectionOf<Element>
参数
- classNames
-
string
返回
HTMLCollectionOf<Element>
继承自 HTMLElement.getElementsByClassName
getElementsByTagName(string)
function getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>
参数
- qualifiedName
-
string
返回
HTMLCollectionOf<Element>
继承自 HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
该方法 Element.getElementsByTagName() 返回指定元素的实时 All 后代,但不会搜索元素本身。
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>
参数
- qualifiedName
-
K
返回
HTMLCollectionOf<HTMLElementTagNameMap[K]>
继承自 HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>
参数
- qualifiedName
-
K
返回
HTMLCollectionOf<SVGElementTagNameMap[K]>
继承自 HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>
参数
- qualifiedName
-
K
返回
HTMLCollectionOf<MathMLElementTagNameMap[K]>
继承自 HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
警告
现已弃用此 API。
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
参数
- qualifiedName
-
K
返回
HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
继承自 HTMLElement.getElementsByTagName
getElementsByTagNameNS("http://www.w3.org/1998/Math/MathML", string)
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>
参数
- namespaceURI
-
"http://www.w3.org/1998/Math/MathML"
- localName
-
string
返回
HTMLCollectionOf<MathMLElement>
继承自 HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)
该方法 Element.getElementsByTagNameNS() 返回一个具有给定标记名称的元素的实时 HTMLCollection,该标记名称属于给定命名空间。
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>
参数
- namespaceURI
-
"http://www.w3.org/1999/xhtml"
- localName
-
string
返回
HTMLCollectionOf<HTMLElement>
继承自 HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS("http://www.w3.org/2000/svg", string)
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>
参数
- namespaceURI
-
"http://www.w3.org/2000/svg"
- localName
-
string
返回
HTMLCollectionOf<SVGElement>
继承自 HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS(string | null, string)
function getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>
参数
- namespace
-
string | null
- localName
-
string
返回
HTMLCollectionOf<Element>
继承自 HTMLElement.getElementsByTagNameNS
getHTML(GetHTMLOptions)
getHTML()元素接口的方法用于将元素的 DOM 序列化为 HTML 字符串。
function getHTML(options?: GetHTMLOptions): string
参数
- options
-
GetHTMLOptions
返回
string
继承自 HTMLElement.getHTML
getRootNode(GetRootNodeOptions)
getRootNode() Node 接口的方法返回上下文对象的根,该根(可选)包括影子根(如果可用)。
function getRootNode(options?: GetRootNodeOptions): Node
参数
- options
-
GetRootNodeOptions
返回
Node
继承自 HTMLElement.getRootNode
hasAttribute(string)
该方法 Element.hasAttribute() 返回一个 布尔 值,该值指示指定的元素是否具有指定的属性。
function hasAttribute(qualifiedName: string): boolean
参数
- qualifiedName
-
string
返回
boolean
继承自 HTMLElement.hasAttribute
hasAttributeNS(string | null, string)
hasAttributeNS() Element 接口的方法返回一个布尔值,该值指示当前元素是否具有具有指定命名空间的指定属性。
function hasAttributeNS(namespace: string | null, localName: string): boolean
参数
- namespace
-
string | null
- localName
-
string
返回
boolean
继承自 HTMLElement.hasAttributeNS
hasAttributes()
hasAttributes() Element 接口的方法返回一个布尔值,该值指示当前元素是否具有任何属性。
function hasAttributes(): boolean
返回
boolean
继承自 HTMLElement.hasAttributes
hasChildNodes()
Node hasChildNodes() 接口的方法返回一个布尔值,该值指示给定节点是否具有子节点。
function hasChildNodes(): boolean
返回
boolean
继承自 HTMLElement.hasChildNodes
hasPointerCapture(number)
hasPointerCapture()由给定指针 ID 标识的指针的指针捕获方法。
function hasPointerCapture(pointerId: number): boolean
参数
- pointerId
-
number
返回
boolean
继承自 HTMLElement.hasPointerCapture
hidePopover()
hidePopover() HTMLElement 接口的方法通过从顶层删除具有有效属性的弹出元素(即具有有效popover属性的元素)并设置display: none其样式来隐藏该元素。
function hidePopover()
继承自 HTMLElement.hidePopover
insertAdjacentElement(InsertPosition, Element)
对其 insertAdjacentElement() 调用的元素的相对方法。
function insertAdjacentElement(where: InsertPosition, element: Element): Element | null
参数
- where
-
InsertPosition
- element
-
Element
返回
Element | null
继承自 HTMLElement.insertAdjacentElement
insertAdjacentHTML(InsertPosition, string)
insertAdjacentHTML()生成的节点的方法位于指定位置的 DOM 树中。
function insertAdjacentHTML(position: InsertPosition, string: string)
参数
- position
-
InsertPosition
- string
-
string
继承自 HTMLElement.insertAdjacentHTML
insertAdjacentText(InsertPosition, string)
元素 insertAdjacentText() 接口的方法,给定相对位置和字符串,在给定位置相对于从中调用的元素插入一个新的文本节点。
function insertAdjacentText(where: InsertPosition, data: string)
参数
- where
-
InsertPosition
- data
-
string
继承自 HTMLElement.insertAdjacentText
insertBefore<T>(T, Node | null)
Node insertBefore() 接口的方法在 引用节点 之前插入节点作为指定 父节点的子节点。
function insertBefore<T>(node: T, child: Node | null): T
参数
- node
-
T
- child
-
Node | null
返回
T
继承自 HTMLElement.insertBefore
isDefaultNamespace(string | null)
isDefaultNamespace() Node 接口的方法接受命名空间 URI 作为参数。
function isDefaultNamespace(namespace: string | null): boolean
参数
- namespace
-
string | null
返回
boolean
继承自 HTMLElement.isDefaultNamespace
isEqualNode(Node | null)
isEqualNode() Node 接口的方法测试两个节点是否相等。
function isEqualNode(otherNode: Node | null): boolean
参数
- otherNode
-
Node | null
返回
boolean
继承自 HTMLElement.isEqualNode
isSameNode(Node | null)
Node isSameNode() 接口的方法是严格相等运算符的 === 旧别名。
function isSameNode(otherNode: Node | null): boolean
参数
- otherNode
-
Node | null
返回
boolean
继承自 HTMLElement.isSameNode
lookupNamespaceURI(string | null)
Node lookupNamespaceURI() 接口的方法采用前缀作为参数,并返回与给定节点上关联的命名空间 URI(如果 null 找不到)。
function lookupNamespaceURI(prefix: string | null): string | null
参数
- prefix
-
string | null
返回
string | null
继承自 HTMLElement.lookupNamespaceURI
lookupPrefix(string | null)
Node lookupPrefix() 接口的方法返回一个字符串,其中包含给定命名空间 URI 的前缀(如果存在)以及 null 不存在的字符串。
function lookupPrefix(namespace: string | null): string | null
参数
- namespace
-
string | null
返回
string | null
继承自 HTMLElement.lookupPrefix
matches(string)
matches()元素接口的方法测试是否由指定的 CSS 选择器选择该元素。
function matches(selectors: string): boolean
参数
- selectors
-
string
返回
boolean
继承自 HTMLElement.matches
normalize()
prepend((string | Node)[])
在节点的第一个子级之前插入节点,同时将节点中的字符串替换为等效的文本节点。
如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。
function prepend(nodes: (string | Node)[])
参数
- nodes
-
(string | Node)[]
继承自 HTMLElement.prepend
querySelector<E>(string)
function querySelector<E>(selectors: string): E | null
参数
- selectors
-
string
返回
E | null
继承自 HTMLElement.querySelector
querySelector<K>(K)
返回与选择器匹配的节点后代的第一个元素。
function querySelector<K>(selectors: K): HTMLElementTagNameMap[K] | null
参数
- selectors
-
K
返回
HTMLElementTagNameMap[K] | null
继承自 HTMLElement.querySelector
querySelector<K>(K)
function querySelector<K>(selectors: K): SVGElementTagNameMap[K] | null
参数
- selectors
-
K
返回
SVGElementTagNameMap[K] | null
继承自 HTMLElement.querySelector
querySelector<K>(K)
function querySelector<K>(selectors: K): MathMLElementTagNameMap[K] | null
参数
- selectors
-
K
返回
MathMLElementTagNameMap[K] | null
继承自 HTMLElement.querySelector
querySelector<K>(K)
警告
现已弃用此 API。
function querySelector<K>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null
参数
- selectors
-
K
返回
HTMLElementDeprecatedTagNameMap[K] | null
继承自 HTMLElement.querySelector
querySelectorAll<E>(string)
function querySelectorAll<E>(selectors: string): NodeListOf<E>
参数
- selectors
-
string
返回
NodeListOf<E>
继承自 HTMLElement.querySelectorAll
querySelectorAll<K>(K)
返回与选择器匹配的节点的所有元素后代。
function querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>
参数
- selectors
-
K
返回
NodeListOf<HTMLElementTagNameMap[K]>
继承自 HTMLElement.querySelectorAll
querySelectorAll<K>(K)
function querySelectorAll<K>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>
参数
- selectors
-
K
返回
NodeListOf<SVGElementTagNameMap[K]>
继承自 HTMLElement.querySelectorAll
querySelectorAll<K>(K)
function querySelectorAll<K>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>
参数
- selectors
-
K
返回
NodeListOf<MathMLElementTagNameMap[K]>
继承自 HTMLElement.querySelectorAll
querySelectorAll<K>(K)
警告
现已弃用此 API。
function querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
参数
- selectors
-
K
返回
NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
继承自 HTMLElement.querySelectorAll
releasePointerCapture(number)
releasePointerCapture()以前为特定 (PointerEvent) 指针设置的方法。
function releasePointerCapture(pointerId: number)
参数
- pointerId
-
number
继承自 HTMLElement.releasePointerCapture
remove()
removeAttribute(string)
Element 方法 removeAttribute() 从元素中删除具有指定名称的属性。
function removeAttribute(qualifiedName: string)
参数
- qualifiedName
-
string
继承自 HTMLElement.removeAttribute
removeAttributeNode(Attr)
removeAttributeNode() Element 接口的方法从元素中删除指定的 Attr 节点。
function removeAttributeNode(attr: Attr): Attr
参数
- attr
-
Attr
返回
Attr
继承自 HTMLElement.removeAttributeNode
removeAttributeNS(string | null, string)
removeAttributeNS()如果使用 HTML,并且不需要将请求的属性指定为特定命名空间的一部分,请改用 Element.removeAttribute() 方法。
function removeAttributeNS(namespace: string | null, localName: string)
参数
- namespace
-
string | null
- localName
-
string
继承自 HTMLElement.removeAttributeNS
removeChild<T>(T)
removeChild() Node 接口的方法从 DOM 中删除子节点,并返回已删除的节点。
function removeChild<T>(child: T): T
参数
- child
-
T
返回
T
继承自 HTMLElement.removeChild
removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)
function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
参数
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | EventListenerOptions
继承自 HTMLElement.removeEventListener
removeEventListener<K>(K, (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, boolean | EventListenerOptions)
function removeEventListener<K>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions)
参数
- type
-
K
- listener
-
(this: HTMLElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | EventListenerOptions
继承自 HTMLElement.removeEventListener
replaceChild<T>(Node, T)
replaceChild() Node 接口的方法替换给定(父)节点中的子节点。
function replaceChild<T>(node: Node, child: T): T
参数
- node
-
Node
- child
-
T
返回
T
继承自 HTMLElement.replaceChild
replaceChildren((string | Node)[])
将节点的所有子级替换为节点,同时将节点中的字符串替换为等效的文本节点。
如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。
function replaceChildren(nodes: (string | Node)[])
参数
- nodes
-
(string | Node)[]
继承自 HTMLElement.replaceChildren
replaceWith((string | Node)[])
将节点替换为节点,同时将节点中的字符串替换为等效的文本节点。
如果违反节点树的约束,则引发“HierarchyRequestError”DOMException。
function replaceWith(nodes: (string | Node)[])
参数
- nodes
-
(string | Node)[]
继承自 HTMLElement.replaceWith
requestFullscreen(FullscreenOptions)
该方法 Element.requestFullscreen() 发出异步请求以全屏模式显示元素。
function requestFullscreen(options?: FullscreenOptions): Promise<void>
参数
- options
-
FullscreenOptions
返回
Promise<void>
继承自 HTMLElement.requestFullscreen
requestPointerLock(PointerLockOptions)
使用 requestPointerLock() Element 接口的方法,可以异步请求在给定元素上锁定指针。
function requestPointerLock(options?: PointerLockOptions): Promise<void>
参数
- options
-
PointerLockOptions
返回
Promise<void>
继承自 HTMLElement.requestPointerLock
scroll(number, number)
function scroll(x: number, y: number)
参数
- x
-
number
- y
-
number
继承自 HTMLElement.scroll
scroll(ScrollToOptions)
scroll() Element 接口的方法将元素滚动到给定元素内的一组特定坐标。
function scroll(options?: ScrollToOptions)
参数
- options
-
ScrollToOptions
继承自 HTMLElement.scroll
scrollBy(number, number)
function scrollBy(x: number, y: number)
参数
- x
-
number
- y
-
number
继承自 HTMLElement.scrollBy
scrollBy(ScrollToOptions)
scrollBy() Element 接口的方法按给定的量滚动元素。
function scrollBy(options?: ScrollToOptions)
参数
- options
-
ScrollToOptions
继承自 HTMLElement.scrollBy
scrollIntoView(boolean | ScrollIntoViewOptions)
Element 接口 scrollIntoView() 的方法滚动元素的上级容器,以便调用的 scrollIntoView() 元素对用户可见。
function scrollIntoView(arg?: boolean | ScrollIntoViewOptions)
参数
- arg
-
boolean | ScrollIntoViewOptions
继承自 HTMLElement.scrollIntoView
scrollTo(number, number)
function scrollTo(x: number, y: number)
参数
- x
-
number
- y
-
number
继承自 HTMLElement.scrollTo
scrollTo(ScrollToOptions)
scrollTo()元素接口的方法滚动到给定元素内的一组特定坐标。
function scrollTo(options?: ScrollToOptions)
参数
- options
-
ScrollToOptions
继承自 HTMLElement.scrollTo
setAttribute(string, string)
setAttribute() Element 接口的方法设置指定元素上的特性的值。
function setAttribute(qualifiedName: string, value: string)
参数
- qualifiedName
-
string
- value
-
string
继承自 HTMLElement.setAttribute
setAttributeNode(Attr)
setAttributeNode() Element 接口的方法将新的 Attr 节点添加到指定的元素。
function setAttributeNode(attr: Attr): Attr | null
参数
- attr
-
Attr
返回
Attr | null
继承自 HTMLElement.setAttributeNode
setAttributeNodeNS(Attr)
setAttributeNodeNS() Element 接口的方法将新的命名空间 Attr 节点添加到元素。
function setAttributeNodeNS(attr: Attr): Attr | null
参数
- attr
-
Attr
返回
Attr | null
继承自 HTMLElement.setAttributeNodeNS
setAttributeNS(string | null, string, string)
setAttributeNS 添加新属性或更改具有给定命名空间和名称的属性的值。
function setAttributeNS(namespace: string | null, qualifiedName: string, value: string)
参数
- namespace
-
string | null
- qualifiedName
-
string
- value
-
string
继承自 HTMLElement.setAttributeNS
setHTMLUnsafe(string)
setHTMLUnsafe() Element 接口的方法用于将 HTML 字符串分析为 DocumentFragment,(可选)筛选掉不需要的元素和属性,以及不属于上下文的元素,然后使用它替换 DOM 中的元素子树。
function setHTMLUnsafe(html: string)
参数
- html
-
string
继承自 HTMLElement.setHTMLUnsafe
setPointerCapture(number)
setPointerCapture()未来指针事件的捕获目标的方法。
function setPointerCapture(pointerId: number)
参数
- pointerId
-
number
继承自 HTMLElement.setPointerCapture
showPopover()
showPopover() HTMLElement 接口的方法通过将其添加到顶层来显示一个Popover_API元素(即具有有效popover属性的元素)。
function showPopover()
继承自 HTMLElement.showPopover
toggleAttribute(string, boolean)
在 toggleAttribute() 给定元素上添加当前和添加它的方法( 如果不存在)。
function toggleAttribute(qualifiedName: string, force?: boolean): boolean
参数
- qualifiedName
-
string
- force
-
boolean
返回
boolean
继承自 HTMLElement.toggleAttribute
togglePopover(boolean)
togglePopover() HTMLElement 接口的方法在隐藏状态和显示状态之间切换Popover_API元素(即具有有效popover属性)。
function togglePopover(options?: boolean): boolean
参数
- options
-
boolean
返回
boolean
继承自 HTMLElement.togglePopover
webkitMatchesSelector(string)
function webkitMatchesSelector(selectors: string): boolean
参数
- selectors
-
string
返回
boolean
继承自 HTMLElement.webkitMatchesSelector