次の方法で共有


HTMLIFrameElement interface

インライン フレーム要素のレイアウトと表示を操作するための特別なプロパティとメソッド (継承によって使用できる HTMLElement インターフェイス以外) を提供します。

Extends

HTMLElement

プロパティ

align

オブジェクトを隣接するテキストに合わせる方法を設定または取得します。

allow
allowFullscreen
contentDocument

ページまたはフレームのドキュメント オブジェクトを取得します。

contentWindow

指定したオブジェクトを取得します。

frameBorder

フレームの罫線を表示するかどうかを設定または取得します。

height

オブジェクトの高さを設定または取得します。

longDesc

オブジェクトの長い説明に URI を設定または取得します。

marginHeight

フレームにテキストを表示する前に、上下の余白の高さを設定または取得します。

marginWidth

テキストをフレームに表示する前に、左右の余白の幅を設定または取得します。

mozRequestFullScreen
msRequestFullscreen
name

フレーム名を設定または取得します。

referrerPolicy
sandbox
scrolling

フレームをスクロールできるかどうかを設定または取得します。

src

オブジェクトによって読み込まれる URL を設定または取得します。

srcdoc

含めるページの内容を設定または再表示します。

webkitRequestFullscreen
width

オブジェクトの幅を設定または取得します。

継承されたプロパティ

accessKey
accessKeyLabel
ariaAtomic
ariaAutoComplete
ariaBusy
ariaChecked
ariaColCount
ariaColIndex
ariaColIndexText
ariaColSpan
ariaCurrent
ariaDisabled
ariaExpanded
ariaHasPopup
ariaHidden
ariaInvalid
ariaKeyShortcuts
ariaLabel
ariaLevel
ariaLive
ariaModal
ariaMultiLine
ariaMultiSelectable
ariaOrientation
ariaPlaceholder
ariaPosInSet
ariaPressed
ariaReadOnly
ariaRequired
ariaRoleDescription
ariaRowCount
ariaRowIndex
ariaRowIndexText
ariaRowSpan
ariaSelected
ariaSetSize
ariaSort
ariaValueMax
ariaValueMin
ariaValueNow
ariaValueText
assignedSlot
attributes
ATTRIBUTE_NODE
autocapitalize
autofocus
baseURI

ノードのノード ドキュメントのドキュメントベース URL を返します。

CDATA_SECTION_NODE

node は CDATASection ノードです。

childElementCount
childNodes

子を返します。

children

子要素を返します。

classList

DOMTokenList オブジェクトを介して、空白で区切られたトークンのセットとして要素のクラス コンテンツ属性を操作できます。

className

要素のクラス コンテンツ属性の値を返します。 これを変更するように設定できます。

clientHeight
clientLeft
clientTop
clientWidth
COMMENT_NODE

ノードはコメント ノードです。

contentEditable
dataset
dir
DOCUMENT_FRAGMENT_NODE

ノードは DocumentFragment ノードです。

DOCUMENT_NODE

ノードはドキュメントです。

DOCUMENT_POSITION_CONTAINED_BY

other がノードの子孫である場合に設定されます。

DOCUMENT_POSITION_CONTAINS

other がノードの先祖である場合に設定します。

DOCUMENT_POSITION_DISCONNECTED

ノードと他のノードが同じツリーにない場合に設定します。

DOCUMENT_POSITION_FOLLOWING

他のノードが次のノードである場合に設定します。

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING

他のノードが前にある場合に設定します。

DOCUMENT_TYPE_NODE

node は doctype です。

draggable
ELEMENT_NODE

node は要素です。

enterKeyHint
ENTITY_NODE
ENTITY_REFERENCE_NODE
firstChild

最初の子を返します。

firstElementChild

要素である最初の子を返し、それ以外の場合は null を返します。

hidden
id

要素の id コンテンツ属性の値を返します。 これを変更するように設定できます。

inert
innerHTML
innerText
inputMode
isConnected

ノードが接続されている場合は true、それ以外の場合は false を返します。

isContentEditable
lang
lastChild

最後の子を返します。

lastElementChild

要素である最後の子を返し、それ以外の場合は null を返します。

localName

ローカル名を返します。

namespaceURI

名前空間を返します。

nextElementSibling

要素である最初の次の兄弟を返し、それ以外の場合は null を返します。

nextSibling

次の兄弟を返します。

nodeName

ノードの種類に適した文字列を返します。

nodeType

ノードの種類を返します。

nodeValue
nonce
NOTATION_NODE
offsetHeight
offsetLeft
offsetParent
offsetTop
offsetWidth
onabort

ユーザーがダウンロードを中止すると起動します。

onanimationcancel
onanimationend
onanimationiteration
onanimationstart
onauxclick
onbeforeinput
onblur

オブジェクトが入力フォーカスを失ったときに発生します。

oncancel
oncanplay

再生が可能な場合に発生しますが、さらにバッファリングが必要になります。

oncanplaythrough
onchange

オブジェクトまたは選択範囲の内容が変更されたときに起動します。

onclick

ユーザーがオブジェクトのマウスの左ボタンをクリックすると発生します。

onclose
oncontextmenu

ユーザーがクライアント領域でマウスの右ボタンをクリックし、コンテキスト メニューを開くと発生します。

oncopy
oncuechange
oncut
ondblclick

ユーザーがオブジェクトをダブルクリックすると起動します。

ondrag

ドラッグ操作中にソース オブジェクトに対して継続的に起動します。

ondragend

ユーザーがドラッグ操作の終了時にマウスを離すと、ソース オブジェクトに対して起動します。

ondragenter

ユーザーがオブジェクトを有効なドロップ ターゲットにドラッグすると、ターゲット要素に対して発生します。

ondragleave

ドラッグ操作中にユーザーが有効なドロップ ターゲットからマウスを移動すると、ターゲット オブジェクトに対して起動します。

ondragover

ユーザーが有効なドロップ ターゲットの上にオブジェクトをドラッグしている間、ターゲット要素に対して継続的に起動します。

ondragstart

ユーザーがテキスト選択または選択したオブジェクトのドラッグを開始すると、ソース オブジェクトに対して起動します。

ondrop
ondurationchange

duration 属性が更新されたときに発生します。

onemptied

メディア要素が初期状態にリセットされたときに発生します。

onended

再生の終了に達したときに発生します。

onerror

オブジェクトの読み込み中にエラーが発生したときに発生します。

onfocus

オブジェクトがフォーカスを受け取ったときに起動します。

onformdata
onfullscreenchange
onfullscreenerror
ongotpointercapture
oninput
oninvalid
onkeydown

ユーザーがキーを押すと起動します。

onkeypress

ユーザーが英数字キーを押すと発生します。

onkeyup

ユーザーがキーを離したときに起動します。

onload

ブラウザーがオブジェクトを読み込んだ直後に起動します。

onloadeddata

メディア データが現在の再生位置に読み込まれるときに発生します。

onloadedmetadata

メディアの期間とディメンションが決定されたときに発生します。

onloadstart

Internet Explorer がメディア データの検索を開始したときに発生します。

onlostpointercapture
onmousedown

ユーザーがいずれかのマウス ボタンでオブジェクトをクリックすると発生します。

onmouseenter
onmouseleave
onmousemove

ユーザーがオブジェクトの上にマウスを移動すると発生します。

onmouseout

ユーザーがマウス ポインターをオブジェクトの境界の外に移動すると発生します。

onmouseover

ユーザーがマウス ポインターをオブジェクトに移動すると発生します。

onmouseup

マウスがオブジェクトの上にあるときに、ユーザーがマウス ボタンを離すと発生します。

onpaste
onpause

再生が一時停止されたときに発生します。

onplay

プレイ メソッドが要求されたときに発生します。

onplaying

オーディオまたはビデオの再生が開始されたときに発生します。

onpointercancel
onpointerdown
onpointerenter
onpointerleave
onpointermove
onpointerout
onpointerover
onpointerup
onprogress

メディア データのダウンロード中に進行状況を示すために発生します。

onratechange

再生速度が増減したときに発生します。

onreset

ユーザーがフォームをリセットしたときに起動します。

onresize
onscroll

ユーザーがオブジェクトのスクロール バーのスクロール ボックスの位置を変更すると発生します。

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
outerText
ownerDocument
parentElement

親要素を返します。

parentNode

親を返します。

part
prefix

名前空間プレフィックスを返します。

previousElementSibling

要素である最初の先行する兄弟を返し、それ以外の場合は null を返します。

previousSibling

前の兄弟を返します。

PROCESSING_INSTRUCTION_NODE

ノードは ProcessingInstruction ノードです。

role
scrollHeight
scrollLeft
scrollTop
scrollWidth
shadowRoot

要素のシャドウ ルート (存在する場合) とシャドウ ルートのモードが "開いている" 場合は null、それ以外の場合は null を返します。

slot

要素のスロット コンテンツ属性の値を返します。 これを変更するように設定できます。

spellcheck
style
tabIndex
tagName

HTML 大文字の修飾名を返します。

textContent
TEXT_NODE

ノードはテキスト ノードです。

title
translate

メソッド

addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)
addEventListener<K>(K, (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, boolean | AddEventListenerOptions)
getSVGDocument()
removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)
removeEventListener<K>(K, (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, boolean | EventListenerOptions)

継承されたメソッド

after((string | Node)[])

ノード内の文字列を同等のテキスト ノードに置き換えながら、ノードの直後にノードを挿入します。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

animate(null | Keyframe[] | PropertyIndexedKeyframes, number | KeyframeAnimationOptions)
append((string | Node)[])

ノードの最後の子の後にノードを挿入し、ノード内の文字列を同等のテキスト ノードに置き換えます。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

appendChild<T>(T)
attachInternals()
attachShadow(ShadowRootInit)

要素のシャドウ ルートを作成し、それを返します。

before((string | Node)[])

ノード内の文字列を同等の Text ノードに置き換えながら、ノードの直前にノードを挿入します。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

blur()
click()
cloneNode(boolean)

ノードのコピーを返します。 deep が true の場合、コピーにはノードの子孫も含まれます。

closest<E>(string)
closest<K>(K)

セレクターに一致する最初の (要素から始まる) 包括先祖を返し、それ以外の場合は null を返します。

closest<K>(K)
compareDocumentPosition(Node)

ノードに対する他の相対位置を示すビットマスクを返します。

contains(null | Node)

other がノードの包括的な子孫である場合は true を返し、それ以外の場合は false を返します。

dispatchEvent(Event)

合成イベントイベントをターゲットにディスパッチし、イベントのキャンセル可能な属性値が false または preventDefault() メソッドが呼び出されなかった場合は true を返し、それ以外の場合は false を返します。

focus(FocusOptions)
getAnimations(GetAnimationsOptions)
getAttribute(string)

修飾名が qualifiedName である要素の最初の属性を返し、それ以外の場合は null を返します。

getAttributeNames()

すべての要素の属性の修飾名を返します。 重複を含めることができます。

getAttributeNode(string)
getAttributeNodeNS(null | string, string)
getAttributeNS(null | string, string)

名前空間が名前空間で、ローカル名が localName である要素の属性を返し、それ以外の場合は null を返します。

getBoundingClientRect()
getClientRects()
getElementsByClassName(string)

classNames によって指定されたすべてのクラスを持つメソッドが呼び出されたオブジェクト (ドキュメントまたは要素) 内の要素の HTMLCollection を返します。 classNames 引数は、クラスのスペース区切りのリストとして解釈されます。

getElementsByTagName(string)
getElementsByTagName<K>(K)
getElementsByTagName<K>(K)
getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)
getElementsByTagNameNS("http://www.w3.org/2000/svg", string)
getElementsByTagNameNS(null | string, string)
getRootNode(GetRootNodeOptions)

ノードのルートを返します。

hasAttribute(string)

修飾名がqualifiedName である属性が要素に含まれる場合は true、それ以外の場合は false を返します。

hasAttributeNS(null | string, string)

要素に名前空間が名前空間で、ローカル名が localName である属性がある場合は true を返します。

hasAttributes()

要素に属性がある場合は true、それ以外の場合は false を返します。

hasChildNodes()

ノードに子があるかどうかを返します。

hasPointerCapture(number)
insertAdjacentElement(InsertPosition, Element)
insertAdjacentHTML(InsertPosition, string)
insertAdjacentText(InsertPosition, string)
insertBefore<T>(T, null | Node)
isDefaultNamespace(null | string)
isEqualNode(null | Node)

node と otherNode のプロパティが同じかどうかを返します。

isSameNode(null | Node)
lookupNamespaceURI(null | string)
lookupPrefix(null | string)
matches(string)

要素のルートに対してセレクターが一致する場合は true を返し、それ以外の場合は false を返します。

normalize()

空の排他テキスト ノードを削除し、残りの連続した排他テキスト ノードのデータをノードの最初のノードに連結します。

prepend((string | Node)[])

ノード内の文字列を同等の Text ノードに置き換えながら、ノードの最初の子の前にノードを挿入します。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

querySelector<E>(string)
querySelector<K>(K)

セレクターに一致するノードの子孫である最初の要素を返します。

querySelector<K>(K)
querySelectorAll<E>(string)
querySelectorAll<K>(K)

セレクターに一致するノードのすべての要素の子孫を返します。

querySelectorAll<K>(K)
releasePointerCapture(number)
remove()

ノードを削除します。

removeAttribute(string)

修飾名が qualifiedName である要素の最初の属性を削除します。

removeAttributeNode(Attr)
removeAttributeNS(null | string, string)

名前空間が名前空間で、ローカル名が localName である要素の属性を削除します。

removeChild<T>(T)
replaceChild<T>(Node, T)
replaceChildren((string | Node)[])

ノード内の文字列を同等のテキスト ノードに置き換えながら、ノードのすべての子をノードに置き換えます。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

replaceWith((string | Node)[])

ノード内の文字列を同等のテキスト ノードに置き換えながら、ノードをノードに置き換えます。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

requestFullscreen(FullscreenOptions)

要素を全画面表示にし、完了すると promise を解決します。

オプションの navigationUI メンバーを指定すると、全画面表示中にナビゲーション UI を表示することが推奨されるかどうかを示します。 "表示" に設定すると、画面領域よりもナビゲーションの簡略化が優先され、"非表示" に設定されている場合は、より多くの画面領域が推奨されます。 ユーザー エージェントは、アプリケーションのユーザー設定を常に自由に優先できます。 既定値 "auto" は、アプリケーションの設定がないことを示します。

requestPointerLock()
scroll(number, number)
scroll(ScrollToOptions)
scrollBy(number, number)
scrollBy(ScrollToOptions)
scrollIntoView(boolean | ScrollIntoViewOptions)
scrollTo(number, number)
scrollTo(ScrollToOptions)
setAttribute(string, string)

修飾名が qualifiedName である要素の最初の属性の値を値に設定します。

setAttributeNode(Attr)
setAttributeNodeNS(Attr)
setAttributeNS(null | string, string, string)

名前空間が名前空間でローカル名が localName である要素の属性の値を value に設定します。

setPointerCapture(number)
toggleAttribute(string, boolean)

force が指定されていない場合は、修飾名を "トグル" し、存在する場合は削除し、存在しない場合は追加します。 force が true の場合は、qualifiedName を追加します。 force が false の場合は、qualifiedName を削除します。

qualifiedName が存在する場合は true、それ以外の場合は false を返します。

webkitMatchesSelector(string)

プロパティの詳細

align

警告

この API は非推奨になりました。

オブジェクトを隣接するテキストに合わせる方法を設定または取得します。

align: string

プロパティ値

string

allow

allow: string

プロパティ値

string

allowFullscreen

allowFullscreen: boolean

プロパティ値

boolean

contentDocument

ページまたはフレームのドキュメント オブジェクトを取得します。

contentDocument: null | Document

プロパティ値

null | Document

contentWindow

指定したオブジェクトを取得します。

contentWindow: null | Window

プロパティ値

null | Window

frameBorder

警告

この API は非推奨になりました。

フレームの罫線を表示するかどうかを設定または取得します。

frameBorder: string

プロパティ値

string

height

オブジェクトの高さを設定または取得します。

height: string

プロパティ値

string

longDesc

警告

この API は非推奨になりました。

オブジェクトの長い説明に URI を設定または取得します。

longDesc: string

プロパティ値

string

marginHeight

警告

この API は非推奨になりました。

フレームにテキストを表示する前に、上下の余白の高さを設定または取得します。

marginHeight: string

プロパティ値

string

marginWidth

警告

この API は非推奨になりました。

テキストをフレームに表示する前に、左右の余白の幅を設定または取得します。

marginWidth: string

プロパティ値

string

mozRequestFullScreen

mozRequestFullScreen: Function

プロパティ値

Function

msRequestFullscreen

msRequestFullscreen: Function

プロパティ値

Function

name

フレーム名を設定または取得します。

name: string

プロパティ値

string

referrerPolicy

referrerPolicy: ReferrerPolicy

プロパティ値

ReferrerPolicy

sandbox

sandbox: DOMTokenList

プロパティ値

DOMTokenList

scrolling

警告

この API は非推奨になりました。

フレームをスクロールできるかどうかを設定または取得します。

scrolling: string

プロパティ値

string

src

オブジェクトによって読み込まれる URL を設定または取得します。

src: string

プロパティ値

string

srcdoc

含めるページの内容を設定または再表示します。

srcdoc: string

プロパティ値

string

webkitRequestFullscreen

webkitRequestFullscreen: () => void

プロパティ値

() => void

width

オブジェクトの幅を設定または取得します。

width: string

プロパティ値

string

継承されたプロパティの詳細

accessKey

accessKey: string

プロパティ値

string

htmlElement.accessKey から継承

accessKeyLabel

accessKeyLabel: string

プロパティ値

string

継承された HTMLElement.accessKeyLabel

ariaAtomic

ariaAtomic: null | string

プロパティ値

null | string

HTMLElement.ariaAtomic から継承された

ariaAutoComplete

ariaAutoComplete: null | string

プロパティ値

null | string

HTMLElement.ariaAutoComplete から継承された

ariaBusy

ariaBusy: null | string

プロパティ値

null | string

HTMLElement.ariaBusy から継承された

ariaChecked

ariaChecked: null | string

プロパティ値

null | string

HTMLElement.ariaChecked から継承された

ariaColCount

ariaColCount: null | string

プロパティ値

null | string

HTMLElement.ariaColCount から継承された

ariaColIndex

ariaColIndex: null | string

プロパティ値

null | string

HTMLElement.ariaColIndex から継承された

ariaColIndexText

ariaColIndexText: null | string

プロパティ値

null | string

HTMLElement.ariaColIndexText から継承された

ariaColSpan

ariaColSpan: null | string

プロパティ値

null | string

HTMLElement.ariaColSpan から継承された

ariaCurrent

ariaCurrent: null | string

プロパティ値

null | string

HTMLElement.ariaCurrent から継承された

ariaDisabled

ariaDisabled: null | string

プロパティ値

null | string

HTMLElement.ariaDisabled から継承された

ariaExpanded

ariaExpanded: null | string

プロパティ値

null | string

HTMLElement.ariaExpanded から継承された

ariaHasPopup

ariaHasPopup: null | string

プロパティ値

null | string

HTMLElement.ariaHasPopup から継承された

ariaHidden

ariaHidden: null | string

プロパティ値

null | string

HTMLElement.ariaHidden から継承された

ariaInvalid

ariaInvalid: null | string

プロパティ値

null | string

HTMLElement.ariaInvalid から継承された

ariaKeyShortcuts

ariaKeyShortcuts: null | string

プロパティ値

null | string

HTMLElement.ariaKeyShortcuts から継承された

ariaLabel

ariaLabel: null | string

プロパティ値

null | string

HTMLElement.ariaLabel から継承された

ariaLevel

ariaLevel: null | string

プロパティ値

null | string

HTMLElement.ariaLevel から継承された

ariaLive

ariaLive: null | string

プロパティ値

null | string

HTMLElement.ariaLive から継承された

ariaModal

ariaModal: null | string

プロパティ値

null | string

HTMLElement.ariaModal から継承された

ariaMultiLine

ariaMultiLine: null | string

プロパティ値

null | string

HTMLElement.ariaMultiLine から継承

ariaMultiSelectable

ariaMultiSelectable: null | string

プロパティ値

null | string

HTMLElement.ariaMultiSelectable から継承された

ariaOrientation

ariaOrientation: null | string

プロパティ値

null | string

HTMLElement.ariaOrientation から継承された

ariaPlaceholder

ariaPlaceholder: null | string

プロパティ値

null | string

HTMLElement.ariaPlaceholder から継承された

ariaPosInSet

ariaPosInSet: null | string

プロパティ値

null | string

htmlElement.ariaPosInSet から継承

ariaPressed

ariaPressed: null | string

プロパティ値

null | string

HTMLElement.ariaPressed から継承された

ariaReadOnly

ariaReadOnly: null | string

プロパティ値

null | string

HTMLElement.ariaReadOnly から継承された

ariaRequired

ariaRequired: null | string

プロパティ値

null | string

HTMLElement.ariaRequired から継承された

ariaRoleDescription

ariaRoleDescription: null | string

プロパティ値

null | string

HTMLElement.ariaRoleDescription から継承された

ariaRowCount

ariaRowCount: null | string

プロパティ値

null | string

HTMLElement.ariaRowCount から継承された

ariaRowIndex

ariaRowIndex: null | string

プロパティ値

null | string

HTMLElement.ariaRowIndex から継承された

ariaRowIndexText

ariaRowIndexText: null | string

プロパティ値

null | string

HTMLElement.ariaRowIndexText から継承

ariaRowSpan

ariaRowSpan: null | string

プロパティ値

null | string

HTMLElement.ariaRowspan から継承された

ariaSelected

ariaSelected: null | string

プロパティ値

null | string

HTMLElement.ariaSelected から継承された

ariaSetSize

ariaSetSize: null | string

プロパティ値

null | string

HTMLElement.ariaSetSize から継承された

ariaSort

ariaSort: null | string

プロパティ値

null | string

HTMLElement.ariaSort から継承された

ariaValueMax

ariaValueMax: null | string

プロパティ値

null | string

HTMLElement.ariaValueMax から継承された

ariaValueMin

ariaValueMin: null | string

プロパティ値

null | string

HTMLElement.ariaValueMin から継承された

ariaValueNow

ariaValueNow: null | string

プロパティ値

null | string

HTMLElement.ariaValueNow から継承された

ariaValueText

ariaValueText: null | string

プロパティ値

null | string

htmlElement.ariaValueText から継承

assignedSlot

assignedSlot: null | HTMLSlotElement

プロパティ値

null | HTMLSlotElement

htmlElement.assignedSlot から継承

attributes

attributes: NamedNodeMap

プロパティ値

NamedNodeMap

HTMLElement.attributes から継承された

ATTRIBUTE_NODE

ATTRIBUTE_NODE: number

プロパティ値

number

HTMLElement.ATTRIBUTE_NODE から継承された

autocapitalize

autocapitalize: string

プロパティ値

string

継承された HTMLElement.autocapitalize

autofocus

autofocus: boolean

プロパティ値

boolean

継承 HTMLElement.autofocus

baseURI

ノードのノード ドキュメントのドキュメントベース URL を返します。

baseURI: string

プロパティ値

string

継承元 HTMLElement.baseURI

CDATA_SECTION_NODE

node は CDATASection ノードです。

CDATA_SECTION_NODE: number

プロパティ値

number

HTMLElement.CDATA_SECTION_NODE から継承された

childElementCount

childElementCount: number

プロパティ値

number

htmlElement.childElementCount から継承

childNodes

子を返します。

childNodes: NodeListOf<ChildNode>

プロパティ値

NodeListOf<ChildNode>

HTMLElement.childNodes から継承されます

children

子要素を返します。

children: HTMLCollection

プロパティ値

HTMLCollection

HTMLElement.children から継承された

classList

DOMTokenList オブジェクトを介して、空白で区切られたトークンのセットとして要素のクラス コンテンツ属性を操作できます。

classList: DOMTokenList

プロパティ値

DOMTokenList

htmlElement.classList から継承

className

要素のクラス コンテンツ属性の値を返します。 これを変更するように設定できます。

className: string

プロパティ値

string

継承 HTMLElement.className

clientHeight

clientHeight: number

プロパティ値

number

HTMLElement.clientHeight から継承された

clientLeft

clientLeft: number

プロパティ値

number

htmlElement.clientLeft から継承

clientTop

clientTop: number

プロパティ値

number

HTMLElement.clientTop から継承された

clientWidth

clientWidth: number

プロパティ値

number

継承された HTMLElement.clientWidth

COMMENT_NODE

ノードはコメント ノードです。

COMMENT_NODE: number

プロパティ値

number

HTMLElement.COMMENT_NODE から継承された

contentEditable

contentEditable: string

プロパティ値

string

HTMLElement.contentEditable から継承された

dataset

dataset: DOMStringMap

プロパティ値

DOMStringMap

HTMLElement.dataset から継承

dir

dir: string

プロパティ値

string

htmlElement.dir から継承

DOCUMENT_FRAGMENT_NODE

ノードは DocumentFragment ノードです。

DOCUMENT_FRAGMENT_NODE: number

プロパティ値

number

HTMLElement.DOCUMENT_FRAGMENT_NODE から継承された

DOCUMENT_NODE

ノードはドキュメントです。

DOCUMENT_NODE: number

プロパティ値

number

HTMLElement.DOCUMENT_NODE から継承された

DOCUMENT_POSITION_CONTAINED_BY

other がノードの子孫である場合に設定されます。

DOCUMENT_POSITION_CONTAINED_BY: number

プロパティ値

number

HTMLElement.DOCUMENT_POSITION_CONTAINED_BY から継承された

DOCUMENT_POSITION_CONTAINS

other がノードの先祖である場合に設定します。

DOCUMENT_POSITION_CONTAINS: number

プロパティ値

number

HTMLElement.DOCUMENT_POSITION_CONTAINS から継承された

DOCUMENT_POSITION_DISCONNECTED

ノードと他のノードが同じツリーにない場合に設定します。

DOCUMENT_POSITION_DISCONNECTED: number

プロパティ値

number

HTMLElement.DOCUMENT_POSITION_DISCONNECTED から継承された

DOCUMENT_POSITION_FOLLOWING

他のノードが次のノードである場合に設定します。

DOCUMENT_POSITION_FOLLOWING: number

プロパティ値

number

HTMLElement.DOCUMENT_POSITION_FOLLOWING から継承された

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number

プロパティ値

number

HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC から継承された

DOCUMENT_POSITION_PRECEDING

他のノードが前にある場合に設定します。

DOCUMENT_POSITION_PRECEDING: number

プロパティ値

number

HTMLElement.DOCUMENT_POSITION_PRECEDING から継承された

DOCUMENT_TYPE_NODE

node は doctype です。

DOCUMENT_TYPE_NODE: number

プロパティ値

number

から継承 HTMLElement.DOCUMENT_TYPE_NODE

draggable

draggable: boolean

プロパティ値

boolean

継承された HTMLElement.draggable

ELEMENT_NODE

node は要素です。

ELEMENT_NODE: number

プロパティ値

number

HTMLElement.ELEMENT_NODE から継承された

enterKeyHint

enterKeyHint: string

プロパティ値

string

継承 HTMLElement.enterKeyHint

ENTITY_NODE

ENTITY_NODE: number

プロパティ値

number

HTMLElement.ENTITY_NODE から継承された

ENTITY_REFERENCE_NODE

ENTITY_REFERENCE_NODE: number

プロパティ値

number

HTMLElement.ENTITY_REFERENCE_NODE から継承された

firstChild

最初の子を返します。

firstChild: null | ChildNode

プロパティ値

null | ChildNode

HTMLElement.firstChild から継承された

firstElementChild

要素である最初の子を返し、それ以外の場合は null を返します。

firstElementChild: null | Element

プロパティ値

null | Element

htmlElement.firstElementChild から継承

hidden

hidden: boolean

プロパティ値

boolean

HTMLElement.hidden から継承された

id

要素の id コンテンツ属性の値を返します。 これを変更するように設定できます。

id: string

プロパティ値

string

HTMLElement.id から継承された

inert

inert: boolean

プロパティ値

boolean

HTMLElement.inert から継承された

innerHTML

innerHTML: string

プロパティ値

string

HTMLElement.innerHTML から継承された

innerText

innerText: string

プロパティ値

string

htmlElement.innerText から継承

inputMode

inputMode: string

プロパティ値

string

HTMLElement.inputMode から継承された

isConnected

ノードが接続されている場合は true、それ以外の場合は false を返します。

isConnected: boolean

プロパティ値

boolean

継承された HTMLElement.isConnected

isContentEditable

isContentEditable: boolean

プロパティ値

boolean

HTMLElement.isContentEditable から継承された

lang

lang: string

プロパティ値

string

HTMLElement.lang から継承された

lastChild

最後の子を返します。

lastChild: null | ChildNode

プロパティ値

null | ChildNode

HTMLElement.lastChild から継承された

lastElementChild

要素である最後の子を返し、それ以外の場合は null を返します。

lastElementChild: null | Element

プロパティ値

null | Element

から継承 HTMLElement.lastElementChild

localName

ローカル名を返します。

localName: string

プロパティ値

string

HTMLElement.localName から継承

namespaceURI

名前空間を返します。

namespaceURI: null | string

プロパティ値

null | string

HTMLElement.namespaceURI から継承された

nextElementSibling

要素である最初の次の兄弟を返し、それ以外の場合は null を返します。

nextElementSibling: null | Element

プロパティ値

null | Element

HTMLElement.nextElementSibling から継承された

nextSibling

次の兄弟を返します。

nextSibling: null | ChildNode

プロパティ値

null | ChildNode

HTMLElement.nextSibling から継承された

nodeName

ノードの種類に適した文字列を返します。

nodeName: string

プロパティ値

string

htmlElement.nodeName から継承

nodeType

ノードの種類を返します。

nodeType: number

プロパティ値

number

HTMLElement.nodeType から継承された

nodeValue

nodeValue: null | string

プロパティ値

null | string

htmlElement.nodeValue から継承

nonce

nonce?: string

プロパティ値

string

HTMLElement.nonce から継承された

NOTATION_NODE

NOTATION_NODE: number

プロパティ値

number

HTMLElement.NOTATION_NODE から継承された

offsetHeight

offsetHeight: number

プロパティ値

number

HTMLElement.offsetHeight から継承された

offsetLeft

offsetLeft: number

プロパティ値

number

HTMLElement.offsetLeft から継承された

offsetParent

offsetParent: null | Element

プロパティ値

null | Element

htmlElement.offsetParent から継承

offsetTop

offsetTop: number

プロパティ値

number

HTMLElement.offsetTop から継承された

offsetWidth

offsetWidth: number

プロパティ値

number

継承 HTMLElement.offsetWidth

onabort

ユーザーがダウンロードを中止すると起動します。

onabort: null | (this: GlobalEventHandlers, ev: UIEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: UIEvent) => any

HTMLElement.onabort から継承された

onanimationcancel

onanimationcancel: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

HTMLElement.onanimationcancel から継承された

onanimationend

onanimationend: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

継承 HTMLElement.onanimationend

onanimationiteration

onanimationiteration: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

HTMLElement.onanimationiteration から継承された

onanimationstart

onanimationstart: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: AnimationEvent) => any

継承された HTMLElement.onanimationstart

onauxclick

onauxclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onauxclick から継承された

onbeforeinput

onbeforeinput: null | (this: GlobalEventHandlers, ev: InputEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: InputEvent) => any

htmlElement.onbeforeinput 継承された

onblur

オブジェクトが入力フォーカスを失ったときに発生します。

onblur: null | (this: GlobalEventHandlers, ev: FocusEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: FocusEvent) => any

htmlElement.onblur から継承

oncancel

oncancel: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.oncancel

oncanplay

再生が可能な場合に発生しますが、さらにバッファリングが必要になります。

oncanplay: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.oncanplay

oncanplaythrough

oncanplaythrough: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.oncanplaythrough から継承された

onchange

オブジェクトまたは選択範囲の内容が変更されたときに起動します。

onchange: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onchange から継承された

onclick

ユーザーがオブジェクトのマウスの左ボタンをクリックすると発生します。

onclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onclick から継承された

onclose

onclose: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.onclose

oncontextmenu

ユーザーがクライアント領域でマウスの右ボタンをクリックし、コンテキスト メニューを開くと発生します。

oncontextmenu: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.oncontextmenu から継承された

oncopy

oncopy: null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any

プロパティ値

null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any

HTMLElement.oncopy から継承された

oncuechange

oncuechange: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.oncuechange

oncut

oncut: null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any

プロパティ値

null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any

HTMLElement.oncut から継承された

ondblclick

ユーザーがオブジェクトをダブルクリックすると起動します。

ondblclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

継承された HTMLElement.ondblclick

ondrag

ドラッグ操作中にソース オブジェクトに対して継続的に起動します。

ondrag: null | (this: GlobalEventHandlers, ev: DragEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: DragEvent) => any

htmlElement.ondrag から継承

ondragend

ユーザーがドラッグ操作の終了時にマウスを離すと、ソース オブジェクトに対して起動します。

ondragend: null | (this: GlobalEventHandlers, ev: DragEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: DragEvent) => any

HTMLElement.ondragend から継承された

ondragenter

ユーザーがオブジェクトを有効なドロップ ターゲットにドラッグすると、ターゲット要素に対して発生します。

ondragenter: null | (this: GlobalEventHandlers, ev: DragEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: DragEvent) => any

継承元 HTMLElement.ondragenter

ondragleave

ドラッグ操作中にユーザーが有効なドロップ ターゲットからマウスを移動すると、ターゲット オブジェクトに対して起動します。

ondragleave: null | (this: GlobalEventHandlers, ev: DragEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: DragEvent) => any

htmlElement.ondragleave から継承

ondragover

ユーザーが有効なドロップ ターゲットの上にオブジェクトをドラッグしている間、ターゲット要素に対して継続的に起動します。

ondragover: null | (this: GlobalEventHandlers, ev: DragEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: DragEvent) => any

HTMLElement.ondragover から継承された

ondragstart

ユーザーがテキスト選択または選択したオブジェクトのドラッグを開始すると、ソース オブジェクトに対して起動します。

ondragstart: null | (this: GlobalEventHandlers, ev: DragEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: DragEvent) => any

継承された HTMLElement.ondragstart

ondrop

ondrop: null | (this: GlobalEventHandlers, ev: DragEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: DragEvent) => any

HTMLElement.ondrop から継承された

ondurationchange

duration 属性が更新されたときに発生します。

ondurationchange: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.ondurationchange から継承された

onemptied

メディア要素が初期状態にリセットされたときに発生します。

onemptied: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onemptied から継承された

onended

再生の終了に達したときに発生します。

onended: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

から継承 HTMLElement.onended

onerror

オブジェクトの読み込み中にエラーが発生したときに発生します。

onerror: OnErrorEventHandler

プロパティ値

OnErrorEventHandler

HTMLElement.onerror から継承された

onfocus

オブジェクトがフォーカスを受け取ったときに起動します。

onfocus: null | (this: GlobalEventHandlers, ev: FocusEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: FocusEvent) => any

HTMLElement.onfocus から継承された

onformdata

onformdata: null | (this: GlobalEventHandlers, ev: FormDataEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: FormDataEvent) => any

HTMLElement.onformdata から継承された

onfullscreenchange

onfullscreenchange: null | (this: Element, ev: Event) => any

プロパティ値

null | (this: Element, ev: Event) => any

継承された HTMLElement.onfullscreenchange

onfullscreenerror

onfullscreenerror: null | (this: Element, ev: Event) => any

プロパティ値

null | (this: Element, ev: Event) => any

から継承 HTMLElement.onfullscreenerror

ongotpointercapture

ongotpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

継承元 HTMLElement.ongotpointercapture

oninput

oninput: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

htmlElement.oninput から継承

oninvalid

oninvalid: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.oninvalid から継承された

onkeydown

ユーザーがキーを押すと起動します。

onkeydown: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

継承された HTMLElement.onkeydown

onkeypress

警告

この API は非推奨になりました。

ユーザーが英数字キーを押すと発生します。

onkeypress: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

HTMLElement.onkeypress から継承された

onkeyup

ユーザーがキーを離したときに起動します。

onkeyup: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any

継承された HTMLElement.onkeyup

onload

ブラウザーがオブジェクトを読み込んだ直後に起動します。

onload: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onload から継承された

onloadeddata

メディア データが現在の再生位置に読み込まれるときに発生します。

onloadeddata: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

htmlElement.onloadeddata から継承

onloadedmetadata

メディアの期間とディメンションが決定されたときに発生します。

onloadedmetadata: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.onloadedmetadata

onloadstart

Internet Explorer がメディア データの検索を開始したときに発生します。

onloadstart: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.onloadstart

onlostpointercapture

onlostpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

継承元 HTMLElement.onlostpointercapture

onmousedown

ユーザーがいずれかのマウス ボタンでオブジェクトをクリックすると発生します。

onmousedown: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onmousedown から継承された

onmouseenter

onmouseenter: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onmouseenter から継承された

onmouseleave

onmouseleave: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onmouseleave から継承された

onmousemove

ユーザーがオブジェクトの上にマウスを移動すると発生します。

onmousemove: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onmousemove から継承された

onmouseout

ユーザーがマウス ポインターをオブジェクトの境界の外に移動すると発生します。

onmouseout: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onmouseout から継承された

onmouseover

ユーザーがマウス ポインターをオブジェクトに移動すると発生します。

onmouseover: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onmouseover から継承された

onmouseup

マウスがオブジェクトの上にあるときに、ユーザーがマウス ボタンを離すと発生します。

onmouseup: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: MouseEvent) => any

HTMLElement.onmouseup から継承された

onpaste

onpaste: null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any

プロパティ値

null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any

継承された HTMLElement.onpaste

onpause

再生が一時停止されたときに発生します。

onpause: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onpause から継承された

onplay

プレイ メソッドが要求されたときに発生します。

onplay: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onplay から継承された

onplaying

オーディオまたはビデオの再生が開始されたときに発生します。

onplaying: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onplaying から継承された

onpointercancel

onpointercancel: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

継承元 HTMLElement.onpointercancel

onpointerdown

onpointerdown: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

継承元 HTMLElement.onpointerdown

onpointerenter

onpointerenter: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

継承元 HTMLElement.onpointerenter

onpointerleave

onpointerleave: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

HTMLElement.onpointerleave から継承された

onpointermove

onpointermove: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

継承元 HTMLElement.onpointermove

onpointerout

onpointerout: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

HTMLElement.onpointerout から継承された

onpointerover

onpointerover: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

HTMLElement.onpointerover から継承された

onpointerup

onpointerup: null | (this: GlobalEventHandlers, ev: PointerEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: PointerEvent) => any

HTMLElement.onpointerup から継承された

onprogress

メディア データのダウンロード中に進行状況を示すために発生します。

onprogress: null | (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any

HTMLElement.onprogress から継承された

onratechange

再生速度が増減したときに発生します。

onratechange: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onratechange から継承された

onreset

ユーザーがフォームをリセットしたときに起動します。

onreset: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

htmlElement.onreset から継承

onresize

onresize: null | (this: GlobalEventHandlers, ev: UIEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: UIEvent) => any

継承された HTMLElement.onresize

onscroll

ユーザーがオブジェクトのスクロール バーのスクロール ボックスの位置を変更すると発生します。

onscroll: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.onscroll

onsecuritypolicyviolation

onsecuritypolicyviolation: null | (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any

継承された HTMLElement.onsecuritypolicyviolation

onseeked

シーク操作が終了したときに発生します。

onseeked: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承 HTMLElement.onseeked

onseeking

現在の再生位置が移動したときに発生します。

onseeking: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onseeking から継承された

onselect

現在の選択範囲が変更されたときに起動します。

onselect: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

htmlElement.onselect から継承された

onselectionchange

onselectionchange: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.onselectionchange

onselectstart

onselectstart: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

htmlElement.onselectstart から継承

onslotchange

onslotchange: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.onslotchange

onstalled

ダウンロードが停止したときに発生します。

onstalled: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onstalled から継承された

onsubmit

onsubmit: null | (this: GlobalEventHandlers, ev: SubmitEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: SubmitEvent) => any

htmlElement.onsubmit から継承

onsuspend

読み込み操作が意図的に停止した場合に発生します。

onsuspend: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承 HTMLElement.onsuspend

ontimeupdate

現在の再生位置を示すために発生します。

ontimeupdate: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.ontimeupdate から継承された

ontoggle

ontoggle: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.ontoggle から継承された

ontouchcancel

ontouchcancel?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TouchEvent) => any

HTMLElement.ontouchcancel から継承された

ontouchend

ontouchend?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TouchEvent) => any

継承された HTMLElement.ontouchend

ontouchmove

ontouchmove?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TouchEvent) => any

継承 HTMLElement.ontouchmove

ontouchstart

ontouchstart?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TouchEvent) => any

HTMLElement.ontouchstart から継承された

ontransitioncancel

ontransitioncancel: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

継承 HTMLElement.ontransitioncancel

ontransitionend

ontransitionend: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

継承された HTMLElement.ontransitionend

ontransitionrun

ontransitionrun: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

HTMLElement.ontransitionrun から継承された

ontransitionstart

ontransitionstart: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: TransitionEvent) => any

継承された HTMLElement.ontransitionstart

onvolumechange

ボリュームが変更されたとき、または再生がミュートまたはミュート解除されたときに発生します。

onvolumechange: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onvolumechange から継承された

onwaiting

ビデオ リソースの次のフレームが使用できないために再生が停止したときに発生します。

onwaiting: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onwaiting から継承された

onwebkitanimationend

警告

この API は非推奨になりました。

This is a legacy alias of onanimationend.

onwebkitanimationend: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onwebkitanimationend から継承されます

onwebkitanimationiteration

警告

この API は非推奨になりました。

This is a legacy alias of onanimationiteration.

onwebkitanimationiteration: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

HTMLElement.onwebkitanimationiteration から継承されます

onwebkitanimationstart

警告

この API は非推奨になりました。

This is a legacy alias of onanimationstart.

onwebkitanimationstart: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

継承された HTMLElement.onwebkitanimationstart

onwebkittransitionend

警告

この API は非推奨になりました。

This is a legacy alias of ontransitionend.

onwebkittransitionend: null | (this: GlobalEventHandlers, ev: Event) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: Event) => any

htmlElement.onwebkittransitionend 継承された

onwheel

onwheel: null | (this: GlobalEventHandlers, ev: WheelEvent) => any

プロパティ値

null | (this: GlobalEventHandlers, ev: WheelEvent) => any

HTMLElement.onwheel から継承された

outerHTML

outerHTML: string

プロパティ値

string

htmlElement.outerHTML から継承

outerText

outerText: string

プロパティ値

string

HTMLElement.outerText から継承された

ownerDocument

ownerDocument: Document

プロパティ値

Document

htmlElement.ownerDocument から継承

parentElement

親要素を返します。

parentElement: null | HTMLElement

プロパティ値

null | HTMLElement

htmlElement.parentElement から継承

parentNode

親を返します。

parentNode: null | ParentNode

プロパティ値

null | ParentNode

継承された HTMLElement.parentNode

part

part: DOMTokenList

プロパティ値

DOMTokenList

HTMLElement.part から継承された

prefix

名前空間プレフィックスを返します。

prefix: null | string

プロパティ値

null | string

htmlElement.prefix から継承

previousElementSibling

要素である最初の先行する兄弟を返し、それ以外の場合は null を返します。

previousElementSibling: null | Element

プロパティ値

null | Element

HTMLElement.previousElementSibling から継承された

previousSibling

前の兄弟を返します。

previousSibling: null | ChildNode

プロパティ値

null | ChildNode

HTMLElement.previousSibling から継承された

PROCESSING_INSTRUCTION_NODE

ノードは ProcessingInstruction ノードです。

PROCESSING_INSTRUCTION_NODE: number

プロパティ値

number

HTMLElement.PROCESSING_INSTRUCTION_NODE から継承された

role

role: null | string

プロパティ値

null | string

HTMLElement.role から継承

scrollHeight

scrollHeight: number

プロパティ値

number

HTMLElement.scrollHeight から継承された

scrollLeft

scrollLeft: number

プロパティ値

number

継承された HTMLElement.scrollLeft

scrollTop

scrollTop: number

プロパティ値

number

htmlElement.scrollTop から継承

scrollWidth

scrollWidth: number

プロパティ値

number

継承 HTMLElement.scrollWidth

shadowRoot

要素のシャドウ ルート (存在する場合) とシャドウ ルートのモードが "開いている" 場合は null、それ以外の場合は null を返します。

shadowRoot: null | ShadowRoot

プロパティ値

null | ShadowRoot

HTMLElement.shadowRoot から継承された

slot

要素のスロット コンテンツ属性の値を返します。 これを変更するように設定できます。

slot: string

プロパティ値

string

htmlElement.slot から継承

spellcheck

spellcheck: boolean

プロパティ値

boolean

継承 HTMLElement.spellcheck

style

style: CSSStyleDeclaration

プロパティ値

CSSStyleDeclaration

継承 HTMLElement.style

tabIndex

tabIndex: number

プロパティ値

number

HTMLElement.tabIndex から継承された

tagName

HTML 大文字の修飾名を返します。

tagName: string

プロパティ値

string

htmlElement.tagName から継承

textContent

textContent: null | string

プロパティ値

null | string

継承元 HTMLElement.textContent

TEXT_NODE

ノードはテキスト ノードです。

TEXT_NODE: number

プロパティ値

number

HTMLElement.TEXT_NODE から継承された

title

title: string

プロパティ値

string

HTMLElement.title から継承された

translate

translate: boolean

プロパティ値

boolean

継承元 HTMLElement.translate

メソッドの詳細

addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)

function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)

パラメーター

type

string

listener

EventListenerOrEventListenerObject

options

boolean | AddEventListenerOptions

addEventListener<K>(K, (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, boolean | AddEventListenerOptions)

function addEventListener<K>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions)

パラメーター

type

K

listener

(this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any

options

boolean | AddEventListenerOptions

getSVGDocument()

function getSVGDocument(): null | Document

戻り値

null | Document

removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)

function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)

パラメーター

type

string

listener

EventListenerOrEventListenerObject

options

boolean | EventListenerOptions

removeEventListener<K>(K, (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, boolean | EventListenerOptions)

function removeEventListener<K>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions)

パラメーター

type

K

listener

(this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any

options

boolean | EventListenerOptions

継承済みメソッドの詳細

after((string | Node)[])

ノード内の文字列を同等のテキスト ノードに置き換えながら、ノードの直後にノードを挿入します。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

function after(nodes: (string | Node)[])

パラメーター

nodes

(string | Node)[]

HTMLElement.after から継承された

animate(null | Keyframe[] | PropertyIndexedKeyframes, number | KeyframeAnimationOptions)

function animate(keyframes: null | Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation

パラメーター

keyframes

null | Keyframe[] | PropertyIndexedKeyframes

options

number | KeyframeAnimationOptions

戻り値

Animation

HTMLElement.animate から継承された

append((string | Node)[])

ノードの最後の子の後にノードを挿入し、ノード内の文字列を同等のテキスト ノードに置き換えます。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

function append(nodes: (string | Node)[])

パラメーター

nodes

(string | Node)[]

HTMLElement.append から継承

appendChild<T>(T)

function appendChild<T>(node: T): T

パラメーター

node

T

戻り値

T

継承された HTMLElement.appendChild

attachInternals()

function attachInternals(): ElementInternals

戻り値

ElementInternals

継承された HTMLElement.attachInternals

attachShadow(ShadowRootInit)

要素のシャドウ ルートを作成し、それを返します。

function attachShadow(init: ShadowRootInit): ShadowRoot

パラメーター

init

ShadowRootInit

戻り値

ShadowRoot

HTMLElement.attachShadow から継承された

before((string | Node)[])

ノード内の文字列を同等の Text ノードに置き換えながら、ノードの直前にノードを挿入します。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

function before(nodes: (string | Node)[])

パラメーター

nodes

(string | Node)[]

HTMLElement.before から継承された

blur()

function blur()

HTMLElement.blur から継承された

click()

function click()

継承 HTMLElement.click

cloneNode(boolean)

ノードのコピーを返します。 deep が true の場合、コピーにはノードの子孫も含まれます。

function cloneNode(deep?: boolean): Node

パラメーター

deep

boolean

戻り値

Node

HTMLElement.cloneNode から継承された

closest<E>(string)

function closest<E>(selectors: string): null | E

パラメーター

selectors

string

戻り値

null | E

HTMLElement.closest から継承された

closest<K>(K)

セレクターに一致する最初の (要素から始まる) 包括先祖を返し、それ以外の場合は null を返します。

function closest<K>(selector: K): null | HTMLElementTagNameMap[K]

パラメーター

selector

K

戻り値

null | HTMLElementTagNameMap[K]

HTMLElement.closest から継承された

closest<K>(K)

function closest<K>(selector: K): null | SVGElementTagNameMap[K]

パラメーター

selector

K

戻り値

null | SVGElementTagNameMap[K]

HTMLElement.closest から継承された

compareDocumentPosition(Node)

ノードに対する他の相対位置を示すビットマスクを返します。

function compareDocumentPosition(other: Node): number

パラメーター

other

Node

戻り値

number

htmlElement.compareDocumentPosition から継承

contains(null | Node)

other がノードの包括的な子孫である場合は true を返し、それ以外の場合は false を返します。

function contains(other: null | Node): boolean

パラメーター

other

null | Node

戻り値

boolean

HTMLElement.contains から継承された

dispatchEvent(Event)

合成イベントイベントをターゲットにディスパッチし、イベントのキャンセル可能な属性値が false または preventDefault() メソッドが呼び出されなかった場合は true を返し、それ以外の場合は false を返します。

function dispatchEvent(event: Event): boolean

パラメーター

event

Event

戻り値

boolean

継承された HTMLElement.dispatchEvent

focus(FocusOptions)

function focus(options?: FocusOptions)

パラメーター

options

FocusOptions

HTMLElement.focus から継承された

getAnimations(GetAnimationsOptions)

function getAnimations(options?: GetAnimationsOptions): Animation[]

パラメーター

options

GetAnimationsOptions

戻り値

Animation[]

HTMLElement.getAnimations から継承された

getAttribute(string)

修飾名が qualifiedName である要素の最初の属性を返し、それ以外の場合は null を返します。

function getAttribute(qualifiedName: string): null | string

パラメーター

qualifiedName

string

戻り値

null | string

HTMLElement.getAttribute から継承された

getAttributeNames()

すべての要素の属性の修飾名を返します。 重複を含めることができます。

function getAttributeNames(): string[]

戻り値

string[]

HTMLElement.getAttributeNames から継承された

getAttributeNode(string)

function getAttributeNode(qualifiedName: string): null | Attr

パラメーター

qualifiedName

string

戻り値

null | Attr

htmlElement.getAttributeNode から継承

getAttributeNodeNS(null | string, string)

function getAttributeNodeNS(namespace: null | string, localName: string): null | Attr

パラメーター

namespace

null | string

localName

string

戻り値

null | Attr

継承された HTMLElement.getAttributeNodeNS

getAttributeNS(null | string, string)

名前空間が名前空間で、ローカル名が localName である要素の属性を返し、それ以外の場合は null を返します。

function getAttributeNS(namespace: null | string, localName: string): null | string

パラメーター

namespace

null | string

localName

string

戻り値

null | string

HTMLElement.getAttributeNS から継承された

getBoundingClientRect()

function getBoundingClientRect(): DOMRect

戻り値

DOMRect

HTMLElement.getBoundingClientRect から継承された

getClientRects()

function getClientRects(): DOMRectList

戻り値

DOMRectList

HTMLElement.getClientRects から継承された

getElementsByClassName(string)

classNames によって指定されたすべてのクラスを持つメソッドが呼び出されたオブジェクト (ドキュメントまたは要素) 内の要素の HTMLCollection を返します。 classNames 引数は、クラスのスペース区切りのリストとして解釈されます。

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)

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 から継承された

getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)

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(null | string, string)

function getElementsByTagNameNS(namespace: null | string, localName: string): HTMLCollectionOf<Element>

パラメーター

namespace

null | string

localName

string

戻り値

HTMLCollectionOf<Element>

HTMLElement.getElementsByTagNameNS から継承された

getRootNode(GetRootNodeOptions)

ノードのルートを返します。

function getRootNode(options?: GetRootNodeOptions): Node

パラメーター

options

GetRootNodeOptions

戻り値

Node

htmlElement.getRootNode から継承

hasAttribute(string)

修飾名がqualifiedName である属性が要素に含まれる場合は true、それ以外の場合は false を返します。

function hasAttribute(qualifiedName: string): boolean

パラメーター

qualifiedName

string

戻り値

boolean

htmlElement.hasAttribute から継承

hasAttributeNS(null | string, string)

要素に名前空間が名前空間で、ローカル名が localName である属性がある場合は true を返します。

function hasAttributeNS(namespace: null | string, localName: string): boolean

パラメーター

namespace

null | string

localName

string

戻り値

boolean

HTMLElement.hasAttributeNS から継承された

hasAttributes()

要素に属性がある場合は true、それ以外の場合は false を返します。

function hasAttributes(): boolean

戻り値

boolean

HTMLElement.hasAttributes から継承された

hasChildNodes()

ノードに子があるかどうかを返します。

function hasChildNodes(): boolean

戻り値

boolean

HTMLElement.hasChildNodes から継承された

hasPointerCapture(number)

function hasPointerCapture(pointerId: number): boolean

パラメーター

pointerId

number

戻り値

boolean

継承元 HTMLElement.hasPointerCapture

insertAdjacentElement(InsertPosition, Element)

function insertAdjacentElement(where: InsertPosition, element: Element): null | Element

パラメーター

where

InsertPosition

element

Element

戻り値

null | Element

htmlElement.insertAdjacentElement 継承された

insertAdjacentHTML(InsertPosition, string)

function insertAdjacentHTML(position: InsertPosition, text: string)

パラメーター

position

InsertPosition

text

string

継承された HTMLElement.insertAdjacentHTML

insertAdjacentText(InsertPosition, string)

function insertAdjacentText(where: InsertPosition, data: string)

パラメーター

where

InsertPosition

data

string

HTMLElement.insertAdjacentText から継承された

insertBefore<T>(T, null | Node)

function insertBefore<T>(node: T, child: null | Node): T

パラメーター

node

T

child

null | Node

戻り値

T

継承された HTMLElement.insertBefore

isDefaultNamespace(null | string)

function isDefaultNamespace(namespace: null | string): boolean

パラメーター

namespace

null | string

戻り値

boolean

継承された HTMLElement.isDefaultNamespace

isEqualNode(null | Node)

node と otherNode のプロパティが同じかどうかを返します。

function isEqualNode(otherNode: null | Node): boolean

パラメーター

otherNode

null | Node

戻り値

boolean

htmlElement.isEqualNode から継承

isSameNode(null | Node)

function isSameNode(otherNode: null | Node): boolean

パラメーター

otherNode

null | Node

戻り値

boolean

HTMLElement.isSameNode から継承された

lookupNamespaceURI(null | string)

function lookupNamespaceURI(prefix: null | string): null | string

パラメーター

prefix

null | string

戻り値

null | string

継承された HTMLElement.lookupNamespaceURI

lookupPrefix(null | string)

function lookupPrefix(namespace: null | string): null | string

パラメーター

namespace

null | string

戻り値

null | string

htmlElement.lookupPrefix から継承

matches(string)

要素のルートに対してセレクターが一致する場合は true を返し、それ以外の場合は false を返します。

function matches(selectors: string): boolean

パラメーター

selectors

string

戻り値

boolean

htmlElement.matches から継承

normalize()

空の排他テキスト ノードを削除し、残りの連続した排他テキスト ノードのデータをノードの最初のノードに連結します。

function normalize()

HTMLElement.normalize から継承された

prepend((string | Node)[])

ノード内の文字列を同等の Text ノードに置き換えながら、ノードの最初の子の前にノードを挿入します。

ノード ツリーの制約に違反した場合は、"HierarchyRequestError" DOMException をスローします。

function prepend(nodes: (string | Node)[])

パラメーター

nodes

(string | Node)[]

htmlElement.prepend から継承

querySelector<E>(string)

function querySelector<E>(selectors: string): null | E

パラメーター

selectors

string

戻り値

null | E

継承された HTMLElement.querySelector

querySelector<K>(K)

セレクターに一致するノードの子孫である最初の要素を返します。

function querySelector<K>(selectors: K): null | HTMLElementTagNameMap[K]

パラメーター

selectors

K

戻り値

null | HTMLElementTagNameMap[K]

継承された HTMLElement.querySelector

querySelector<K>(K)

function querySelector<K>(selectors: K): null | SVGElementTagNameMap[K]

パラメーター

selectors

K

戻り値

null | SVGElementTagNameMap[K]

継承された 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 から継承

releasePointerCapture(number)

function releasePointerCapture(pointerId: number)

パラメーター

pointerId

number

継承元 HTMLElement.releasePointerCapture

remove()

ノードを削除します。

function remove()

HTMLElement.remove から継承

removeAttribute(string)

修飾名が qualifiedName である要素の最初の属性を削除します。

function removeAttribute(qualifiedName: string)

パラメーター

qualifiedName

string

HTMLElement.removeAttribute から継承された

removeAttributeNode(Attr)

function removeAttributeNode(attr: Attr): Attr

パラメーター

attr

Attr

戻り値

Attr

htmlElement.removeAttributeNode から継承

removeAttributeNS(null | string, string)

名前空間が名前空間で、ローカル名が localName である要素の属性を削除します。

function removeAttributeNS(namespace: null | string, localName: string)

パラメーター

namespace

null | string

localName

string

HTMLElement.removeAttributeNS から継承された

removeChild<T>(T)

function removeChild<T>(child: T): T

パラメーター

child

T

戻り値

T

HTMLElement.removeChild から継承された

replaceChild<T>(Node, T)

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)

要素を全画面表示にし、完了すると promise を解決します。

オプションの navigationUI メンバーを指定すると、全画面表示中にナビゲーション UI を表示することが推奨されるかどうかを示します。 "表示" に設定すると、画面領域よりもナビゲーションの簡略化が優先され、"非表示" に設定されている場合は、より多くの画面領域が推奨されます。 ユーザー エージェントは、アプリケーションのユーザー設定を常に自由に優先できます。 既定値 "auto" は、アプリケーションの設定がないことを示します。

function requestFullscreen(options?: FullscreenOptions): Promise<void>

パラメーター

options

FullscreenOptions

戻り値

Promise<void>

から継承 HTMLElement.requestFullscreen

requestPointerLock()

function requestPointerLock()

継承元 HTMLElement.requestPointerLock

scroll(number, number)

function scroll(x: number, y: number)

パラメーター

x

number

y

number

継承 HTMLElement.scroll

scroll(ScrollToOptions)

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)

function scrollBy(options?: ScrollToOptions)

パラメーター

options

ScrollToOptions

継承 HTMLElement.scrollBy

scrollIntoView(boolean | ScrollIntoViewOptions)

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)

function scrollTo(options?: ScrollToOptions)

パラメーター

options

ScrollToOptions

継承 HTMLElement.scrollTo

setAttribute(string, string)

修飾名が qualifiedName である要素の最初の属性の値を値に設定します。

function setAttribute(qualifiedName: string, value: string)

パラメーター

qualifiedName

string

value

string

htmlElement.setAttribute から継承

setAttributeNode(Attr)

function setAttributeNode(attr: Attr): null | Attr

パラメーター

attr

Attr

戻り値

null | Attr

継承された HTMLElement.setAttributeNode

setAttributeNodeNS(Attr)

function setAttributeNodeNS(attr: Attr): null | Attr

パラメーター

attr

Attr

戻り値

null | Attr

htmlElement.setAttributeNodeNS から継承

setAttributeNS(null | string, string, string)

名前空間が名前空間でローカル名が localName である要素の属性の値を value に設定します。

function setAttributeNS(namespace: null | string, qualifiedName: string, value: string)

パラメーター

namespace

null | string

qualifiedName

string

value

string

HTMLElement.setAttributeNS から継承された

setPointerCapture(number)

function setPointerCapture(pointerId: number)

パラメーター

pointerId

number

HTMLElement.setPointerCapture から継承された

toggleAttribute(string, boolean)

force が指定されていない場合は、修飾名を "トグル" し、存在する場合は削除し、存在しない場合は追加します。 force が true の場合は、qualifiedName を追加します。 force が false の場合は、qualifiedName を削除します。

qualifiedName が存在する場合は true、それ以外の場合は false を返します。

function toggleAttribute(qualifiedName: string, force?: boolean): boolean

パラメーター

qualifiedName

string

force

boolean

戻り値

boolean

継承 HTMLElement.toggleAttribute

webkitMatchesSelector(string)

警告

この API は非推奨になりました。

This is a legacy alias of matches.

function webkitMatchesSelector(selectors: string): boolean

パラメーター

selectors

string

戻り値

boolean

htmlElement.webkitMatchesSelector から継承