HTMLIFrameElement interface

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

MDN リファレンス

Extends

HTMLElement

プロパティ

align
allow

HTMLIFrameElement インターフェイスの allow プロパティは、この <iframe> 要素に対して指定されたアクセス許可ポリシーを示します。

MDN リファレンス

allowFullscreen

HTMLIFrameElement インターフェイスの allowFullscreen プロパティは、iframe 要素の allowfullscreen 属性を反映するブール値で、iframe のコンテンツで Element.requestFullscreen を使用できるかどうかを示します。

MDN リファレンス

classList

Element.classListは、要素のclass属性のライブ DOMTokenList コレクションを返す読み取り専用プロパティです。

MDN リファレンス

contentDocument

iframe と iframe の親ドキュメントが同じ原点である場合は、 Document (つまり、インライン フレームの入れ子になった参照コンテキスト内のアクティブなドキュメント) を返します。それ以外の場合は、 nullを返します。

MDN リファレンス

contentWindow

contentWindow プロパティは、HTMLIFrameElement の Window オブジェクトを返します。

MDN リファレンス

frameBorder
height

HTMLIFrameElement インターフェイスの height プロパティは、フレームの高さを CSS ピクセル単位で示す、iframe 要素の height 属性を反映する文字列を返します。

MDN リファレンス

loading

HTMLIFrameElement インターフェイスの loading プロパティは、iframe をページの読み込み時にすぐに読み込む必要があるか、または必要なときにのみ読み込む必要があるかを示すヒントをユーザー エージェントに提供する文字列です。

MDN リファレンス

longDesc
marginHeight
marginWidth
mozRequestFullScreen
msRequestFullscreen
name

HTMLIFrameElement インターフェイスの name プロパティは、iframe 要素の name 属性を反映する文字列値で、 <iframe> 要素の特定の名前を示します。

MDN リファレンス

part

Element インターフェイスの part プロパティは、DOMTokenList として返される要素のパーツ識別子 (つまり、 part 属性を使用して設定) を表します。

MDN リファレンス

referrerPolicy

HTMLIFrameElement.referrerPolicy プロパティには、リソースの HTML referrerpolicy属性が反映されます。

MDN リファレンス

sandbox

HTMLIFrameElement インターフェイスの sandbox 読み取り専用プロパティは、入れ子になったコンテンツの動作に関する追加の制限を示す DOMTokenList を返します。

MDN リファレンス

scrolling
src

HTMLIFrameElement.src埋め込むコンテンツのアドレスを含む、src HTML 属性を反映する文字列。

MDN リファレンス

srcdoc

HTMLIFrameElement の srcdoc プロパティは、ページの内容を指定します。

MDN リファレンス

style

MDN リファレンス

textContent

MDN リファレンス

webkitRequestFullscreen
width

HTMLIFrameElement インターフェイスの width プロパティは、フレームの幅を CSS ピクセル単位で示す、iframe 要素の width 属性を反映する文字列を返します。

MDN リファレンス

継承されたプロパティ

accessKey

HTMLElement.accessKey プロパティは、ユーザーが押して特定の要素にジャンプできるキーストロークを設定します。

MDN リファレンス

accessKeyLabel

HTMLElement.accessKeyLabel読み取り専用プロパティは、要素のブラウザー割り当てアクセス キー (存在する場合) を含む文字列を返します。それ以外の場合は空の文字列を返します。

MDN リファレンス

ariaActiveDescendantElement

MDN リファレンス

ariaAtomic

MDN リファレンス

ariaAutoComplete

MDN リファレンス

ariaBrailleLabel

MDN リファレンス

ariaBrailleRoleDescription

MDN リファレンス

ariaBusy

MDN リファレンス

ariaChecked

MDN リファレンス

ariaColCount

MDN リファレンス

ariaColIndex

MDN リファレンス

ariaColIndexText

MDN リファレンス

ariaColSpan

MDN リファレンス

ariaControlsElements

MDN リファレンス

ariaCurrent

MDN リファレンス

ariaDescribedByElements

MDN リファレンス

ariaDescription

MDN リファレンス

ariaDetailsElements

MDN リファレンス

ariaDisabled

MDN リファレンス

ariaErrorMessageElements

MDN リファレンス

ariaExpanded

MDN リファレンス

ariaFlowToElements

MDN リファレンス

ariaHasPopup

MDN リファレンス

ariaHidden

MDN リファレンス

ariaInvalid

MDN リファレンス

ariaKeyShortcuts

MDN リファレンス

ariaLabel

MDN リファレンス

ariaLabelledByElements

MDN リファレンス

ariaLevel

MDN リファレンス

ariaLive

MDN リファレンス

ariaModal

MDN リファレンス

ariaMultiLine

MDN リファレンス

ariaMultiSelectable

MDN リファレンス

ariaOrientation

MDN リファレンス

ariaOwnsElements

MDN リファレンス

ariaPlaceholder

MDN リファレンス

ariaPosInSet

MDN リファレンス

ariaPressed

MDN リファレンス

ariaReadOnly

MDN リファレンス

ariaRelevant

MDN リファレンス

ariaRequired

MDN リファレンス

ariaRoleDescription

MDN リファレンス

ariaRowCount

MDN リファレンス

ariaRowIndex

MDN リファレンス

ariaRowIndexText

MDN リファレンス

ariaRowSpan

MDN リファレンス

ariaSelected

MDN リファレンス

ariaSetSize

MDN リファレンス

ariaSort

MDN リファレンス

ariaValueMax

MDN リファレンス

ariaValueMin

MDN リファレンス

ariaValueNow

MDN リファレンス

ariaValueText

MDN リファレンス

assignedSlot

MDN リファレンス

attributes

Element.attributes プロパティは、指定したノードに登録されているすべての属性ノードのライブ コレクションを返します。

MDN リファレンス

attributeStyleMap

MDN リファレンス

ATTRIBUTE_NODE
autocapitalize

HTMLElement インターフェイスの autocapitalize プロパティは、ユーザー入力の要素の大文字と小文字の設定の動作を表します。

MDN リファレンス

autocorrect

HTMLElement インターフェイスの autocorrect プロパティは、編集可能なテキストの自動修正がスペル ミスや句読点エラーに対して有効かどうかを制御します。

MDN リファレンス

autofocus

MDN リファレンス

baseURI

Node インターフェイスの読み取り専用 baseURI プロパティは、ノードを含むドキュメントの絶対ベース URL を返します。

MDN リファレンス

CDATA_SECTION_NODE

node は CDATASection ノードです。

childElementCount

MDN リファレンス

childNodes

Node インターフェイスの読み取り専用 childNodes プロパティは、最初の子ノードにインデックスが割り当てられたライブ 0を返します。

MDN リファレンス

children

子要素を返します。

MDN リファレンス

className

指定した要素の className プロパティ。

MDN リファレンス

clientHeight

要素インターフェイスの clientHeight 読み取り専用プロパティは、CSS またはインライン レイアウト ボックスのない要素の場合は 0 です。それ以外の場合は、要素の内側の高さ (ピクセル単位) です。

MDN リファレンス

clientLeft

要素インターフェイスの clientLeft 読み取り専用プロパティは、要素の左境界線の幅をピクセル単位で返します。

MDN リファレンス

clientTop

要素インターフェイスの clientTop 読み取り専用プロパティは、要素の上罫線の幅をピクセル単位で返します。

MDN リファレンス

clientWidth

要素インターフェイスの clientWidth 読み取り専用プロパティは、CSS のないインライン要素と要素の場合は 0 です。それ以外の場合は、要素の内側の幅 (ピクセル単位) です。

MDN リファレンス

COMMENT_NODE

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

contentEditable

MDN リファレンス

currentCSSZoom

要素インターフェイスの currentCSSZoom 読み取り専用プロパティは、要素とそのすべての親要素に適用されるズームを考慮して、要素の 'effective' CSS zoom を提供します。

MDN リファレンス

dataset

MDN リファレンス

dir

HTMLElement.dir プロパティは、現在の要素のコンテンツの書き込み方向を示します。

MDN リファレンス

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

HTMLElement インターフェイスの draggable プロパティは、要素がドラッグ可能かどうかを示すブール型プリミティブを取得および設定します。

MDN リファレンス

ELEMENT_NODE

node は要素です。

enterKeyHint

MDN リファレンス

ENTITY_NODE
ENTITY_REFERENCE_NODE
firstChild

Node インターフェイスの読み取り専用 firstChild プロパティは、ツリー内のノードの最初の子を返します。ノードに子がない場合は null します。

MDN リファレンス

firstElementChild

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

MDN リファレンス

hidden

HTMLElement プロパティ hidden は、要素の hidden 属性の値を反映します。

MDN リファレンス

id

Element インターフェイスの id プロパティは、 id グローバル属性を反映する要素の識別子を表します。

MDN リファレンス

inert

HTMLElement プロパティ inert は、要素の inert 属性の値を反映します。

MDN リファレンス

innerHTML

要素インターフェイスの innerHTML プロパティは、要素内に含まれる HTML または XML マークアップを取得または設定します。

MDN リファレンス

innerText

HTMLElement インターフェイスの innerText プロパティは、ノードとその子孫のレンダリングされたテキスト コンテンツを表します。

MDN リファレンス

inputMode

MDN リファレンス

isConnected

Node インターフェイスの読み取り専用 isConnected プロパティは、ノードが Document オブジェクトに (直接的または間接的に) 接続されているかどうかを示すブール値を返します。

MDN リファレンス

isContentEditable

MDN リファレンス

lang

HTMLElement インターフェイスの lang プロパティは、要素の属性値とテキスト コンテンツの基本言語を MISSING( RFC(5646, 'BCP 47 言語識別子タグ') の形式で示します。

MDN リファレンス

lastChild

Node インターフェイスの読み取り専用 lastChild プロパティは、ノードの最後の子を返します。子ノードがない場合は null します。

MDN リファレンス

lastElementChild

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

MDN リファレンス

localName

Element.localName読み取り専用プロパティは、要素の修飾名のローカル部分を返します。

MDN リファレンス

namespaceURI

Element.namespaceURI読み取り専用プロパティは、要素の名前空間 URI を返します。または、要素が名前空間にない場合はnullします。

MDN リファレンス

nextElementSibling

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

MDN リファレンス

nextSibling

Node インターフェイスの読み取り専用 nextSibling プロパティは、親の Node.childNodes で指定されたノードのすぐ後にあるノードを返すか、指定したノードが親要素の最後の子である場合は null を返します。

MDN リファレンス

nodeName

Node の読み取り専用 nodeName プロパティは、現在のノードの名前を文字列として返します。

MDN リファレンス

nodeType

Node インターフェイスの読み取り専用 nodeType プロパティは、ノードが何であるかを識別する整数です。

MDN リファレンス

nodeValue

Node インターフェイスの nodeValue プロパティは、現在のノードの値を取得または設定します。

MDN リファレンス

nonce

MDN リファレンス

NOTATION_NODE
offsetHeight

HTMLElement インターフェイスの offsetHeight 読み取り専用プロパティは、垂直方向の埋め込みと罫線を含む要素の高さを整数として返します。

MDN リファレンス

offsetLeft

HTMLElement インターフェイスの offsetLeft 読み取り専用プロパティは、現在の要素の 左上隅 が HTMLElement.offsetParent ノード内の左側にオフセットされるピクセル数を返します。

MDN リファレンス

offsetParent

HTMLElement.offsetParent読み取り専用プロパティは、最も近い (コンテインメント階層内で最も近い) 位置の先祖要素である要素への参照を返します。

MDN リファレンス

offsetTop

HTMLElement インターフェイスの offsetTop 読み取り専用プロパティは、現在の要素の外側の境界線 (余白を含む) から 、最も近い位置 にある先祖要素である HTMLelement.offsetParent の上端までの距離を返します。

MDN リファレンス

offsetWidth

HTMLElement インターフェイスの offsetWidth 読み取り専用プロパティは、要素のレイアウト幅を整数として返します。

MDN リファレンス

onabort

MDN リファレンス

onanimationcancel

MDN リファレンス

onanimationend

MDN リファレンス

onanimationiteration

MDN リファレンス

onanimationstart

MDN リファレンス

onauxclick

MDN リファレンス

onbeforeinput

MDN リファレンス

onbeforematch

MDN リファレンス

onbeforetoggle

MDN リファレンス

onblur

MDN リファレンス

oncancel

MDN リファレンス

oncanplay

MDN リファレンス

oncanplaythrough

MDN リファレンス

onchange

MDN リファレンス

onclick

MDN リファレンス

onclose

MDN リファレンス

oncontextlost

MDN リファレンス

oncontextmenu

MDN リファレンス

oncontextrestored

MDN リファレンス

oncopy

MDN リファレンス

oncuechange

MDN リファレンス

oncut

MDN リファレンス

ondblclick

MDN リファレンス

ondrag

MDN リファレンス

ondragend

MDN リファレンス

ondragenter

MDN リファレンス

ondragleave

MDN リファレンス

ondragover

MDN リファレンス

ondragstart

MDN リファレンス

ondrop

MDN リファレンス

ondurationchange

MDN リファレンス

onemptied

MDN リファレンス

onended

MDN リファレンス

onerror

MDN リファレンス

onfocus

MDN リファレンス

onformdata

MDN リファレンス

onfullscreenchange

MDN リファレンス

onfullscreenerror

MDN リファレンス

ongotpointercapture

MDN リファレンス

oninput

MDN リファレンス

oninvalid

MDN リファレンス

onkeydown

MDN リファレンス

onkeypress
onkeyup

MDN リファレンス

onload

MDN リファレンス

onloadeddata

MDN リファレンス

onloadedmetadata

MDN リファレンス

onloadstart

MDN リファレンス

onlostpointercapture

MDN リファレンス

onmousedown

MDN リファレンス

onmouseenter

MDN リファレンス

onmouseleave

MDN リファレンス

onmousemove

MDN リファレンス

onmouseout

MDN リファレンス

onmouseover

MDN リファレンス

onmouseup

MDN リファレンス

onpaste

MDN リファレンス

onpause

MDN リファレンス

onplay

MDN リファレンス

onplaying

MDN リファレンス

onpointercancel

MDN リファレンス

onpointerdown

MDN リファレンス

onpointerenter

MDN リファレンス

onpointerleave

MDN リファレンス

onpointermove

MDN リファレンス

onpointerout

MDN リファレンス

onpointerover

MDN リファレンス

onpointerrawupdate

セキュリティで保護されたコンテキストでのみ使用できます。

MDN リファレンス

onpointerup

MDN リファレンス

onprogress

MDN リファレンス

onratechange

MDN リファレンス

onreset

MDN リファレンス

onresize

MDN リファレンス

onscroll

MDN リファレンス

onscrollend

MDN リファレンス

onsecuritypolicyviolation

MDN リファレンス

onseeked

MDN リファレンス

onseeking

MDN リファレンス

onselect

MDN リファレンス

onselectionchange

MDN リファレンス

onselectstart

MDN リファレンス

onslotchange

MDN リファレンス

onstalled

MDN リファレンス

onsubmit

MDN リファレンス

onsuspend

MDN リファレンス

ontimeupdate

MDN リファレンス

ontoggle

MDN リファレンス

ontouchcancel

MDN リファレンス

ontouchend

MDN リファレンス

ontouchmove

MDN リファレンス

ontouchstart

MDN リファレンス

ontransitioncancel

MDN リファレンス

ontransitionend

MDN リファレンス

ontransitionrun

MDN リファレンス

ontransitionstart

MDN リファレンス

onvolumechange

MDN リファレンス

onwaiting

MDN リファレンス

onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationstart
onwebkittransitionend
onwheel

MDN リファレンス

outerHTML

Element DOM インターフェイスの outerHTML 属性は、その子孫を含む要素を記述するシリアル化された HTML フラグメントを取得します。

MDN リファレンス

outerText

HTMLElement インターフェイスの outerText プロパティは、HTMLElement.innerText と同じ値を返します。

MDN リファレンス

ownerDocument

Node インターフェイスの読み取り専用 ownerDocument プロパティは、ノードの最上位のドキュメント オブジェクトを返します。

MDN リファレンス

parentElement

Node インターフェイスの読み取り専用 parentElement プロパティは、DOM ノードの親要素を返します。または、ノードに親がない場合、またはその親が DOM 要素でない場合は null します。

MDN リファレンス

parentNode

Node インターフェイスの読み取り専用 parentNode プロパティは、DOM ツリー内の指定されたノードの親を返します。

MDN リファレンス

popover

HTMLElement インターフェイスの popover プロパティは、JavaScript ('auto'、 'hint'、または 'manual') を使用して要素のポップオーバー状態を取得および設定し、機能検出に使用できます。

MDN リファレンス

prefix

Element.prefix読み取り専用プロパティは、指定した要素の名前空間プレフィックスを返します。プレフィックスが指定されていない場合はnullします。

MDN リファレンス

previousElementSibling

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

MDN リファレンス

previousSibling

Node インターフェイスの読み取り専用 previousSibling プロパティは、指定したノードがその親の指定したノードの直前にあるノードを返します。指定したノードがそのリストの最初のノードである場合は、 null を返します。

MDN リファレンス

PROCESSING_INSTRUCTION_NODE

ノードは ProcessingInstruction ノードです。

role

MDN リファレンス

scrollHeight

要素インターフェイスの scrollHeight 読み取り専用プロパティは、オーバーフローが原因で画面に表示されないコンテンツを含む、要素のコンテンツの高さの測定です。

MDN リファレンス

scrollLeft

Element インターフェイスの scrollLeft プロパティは、要素のコンテンツが左端からスクロールされるピクセル数を取得または設定します。

MDN リファレンス

scrollTop

要素インターフェイスの scrollTop プロパティは、要素のコンテンツが上端からスクロールされるピクセル数を取得または設定します。

MDN リファレンス

scrollWidth

要素インターフェイスの scrollWidth 読み取り専用プロパティは、オーバーフローのために画面に表示されないコンテンツを含む、要素のコンテンツの幅の測定です。

MDN リファレンス

shadowRoot

Element.shadowRoot読み取り専用プロパティは、要素によってホストされるシャドウ ルートを表します。

MDN リファレンス

slot

Element インターフェイスの slot プロパティは、要素が挿入されるシャドウ DOM スロットの名前を返します。

MDN リファレンス

spellcheck

HTMLElement インターフェイスの spellcheck プロパティは、スペル チェック ヒントを制御するブール値を表します。

MDN リファレンス

tabIndex

MDN リファレンス

tagName

要素インターフェイスの tagName 読み取り専用プロパティは、呼び出された要素のタグ名を返します。

MDN リファレンス

TEXT_NODE

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

title

HTMLElement.titleプロパティは、要素のタイトルを表します。通常、マウスがノードの上にあるとき、"ツールヒント" ポップアップに表示されるテキストです。

MDN リファレンス

translate

HTMLElement インターフェイスの translate プロパティは、ページがローカライズされるときに、要素の属性値とその Text ノードの子の値を変換するかどうか、または変更せずに残すかどうかを示します。

MDN リファレンス

writingSuggestions

HTMLElement インターフェイスの writingSuggestions プロパティは、ブラウザーが提供する書き込み候補を要素のスコープで有効にするかどうかを示す文字列です。

MDN リファレンス

継承されたメソッド

after((string | Node)[])

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

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

MDN リファレンス

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

MDN リファレンス

append((string | Node)[])

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

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

MDN リファレンス

appendChild<T>(T)

Node インターフェイスの appendChild() メソッドは、指定した親ノードの子の一覧の末尾にノードを追加します。

MDN リファレンス

attachInternals()

HTMLElement.attachInternals() メソッドは ElementInternals オブジェクトを返します。

MDN リファレンス

attachShadow(ShadowRootInit)

Element.attachShadow() メソッドは、シャドウ DOM ツリーを指定された要素にアタッチし、その ShadowRoot への参照を返します。

MDN リファレンス

before((string | Node)[])

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

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

MDN リファレンス

blur()

MDN リファレンス

checkVisibility(CheckVisibilityOptions)

要素インターフェイスの checkVisibility() メソッドは、要素が表示されているかどうかを確認します。

MDN リファレンス

click()

HTMLElement.click()メソッドは、要素のマウス クリックをシミュレートします。

MDN リファレンス

cloneNode(boolean)

Node インターフェイスの cloneNode() メソッドは、このメソッドが呼び出されたノードの複製を返します。

MDN リファレンス

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

Element インターフェイスの closest() メソッドは、指定された CSS セレクターに一致するノードが見つかるまで、要素とその親 (ドキュメント ルートに向かって向かう) を走査します。

MDN リファレンス

closest<K>(K)
closest<K>(K)
compareDocumentPosition(Node)

Node インターフェイスの compareDocumentPosition() メソッドは、呼び出されたノードを基準にして、引数ノードの位置を報告します。

MDN リファレンス

computedStyleMap()

要素インターフェイスの computedStyleMap() メソッドは、CSSStyleDeclaration の代わりに CSS 宣言ブロックの読み取り専用表現を提供する StylePropertyMapReadOnly インターフェイスを返します。

MDN リファレンス

contains(Node | null)

Node インターフェイスの contains() メソッドは、ノードが特定のノードの子孫であるかどうか、つまりノード自体、その直接の子 (Node.childNodes)、子の直接の子の 1 つであるかどうかを示すブール値を返します。

MDN リファレンス

dispatchEvent(Event)

EventTarget の dispatchEvent() メソッドは、イベントをオブジェクトに送信し、(同期的に) 影響を受けるイベント リスナーを適切な順序で呼び出します。

MDN リファレンス

focus(FocusOptions)

MDN リファレンス

getAnimations(GetAnimationsOptions)

MDN リファレンス

getAttribute(string)

要素の getAttribute() メソッド。

MDN リファレンス

getAttributeNames()

配列の getAttributeNames() メソッド。

MDN リファレンス

getAttributeNode(string)

指定した要素の指定した属性を Attr ノードとして返します。

MDN リファレンス

getAttributeNodeNS(string | null, string)

Element インターフェイスの getAttributeNodeNS() メソッドは、要素の名前空間付き Attr ノードを返します。

MDN リファレンス

getAttributeNS(string | null, string)

Element インターフェイスの getAttributeNS() メソッドは、指定した名前空間と名前を持つ属性の文字列値を返します。

MDN リファレンス

getBoundingClientRect()

Element.getBoundingClientRect() メソッドは、ビューポートを基準とした位置を返します。

MDN リファレンス

getClientRects()

Element インターフェイスの getClientRects() メソッドは、クライアントの各 CSS 境界線ボックスの外接する四角形を示す DOMRect オブジェクトのコレクションを返します。

MDN リファレンス

getElementsByClassName(string)

Element メソッド getElementsByClassName() は、ライブで指定されたクラス名を返します。

MDN リファレンス

getElementsByTagName(string)
getElementsByTagName<K>(K)

Element.getElementsByTagName()メソッドは、指定した要素のすべての子孫が検索されますが、要素自体は検索されません。

MDN リファレンス

getElementsByTagName<K>(K)
getElementsByTagName<K>(K)
getElementsByTagName<K>(K)
getElementsByTagNameNS("http://www.w3.org/1998/Math/MathML", string)
getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)

Element.getElementsByTagNameNS() メソッドは、指定された名前空間に属する特定のタグ名を持つ要素のライブ HTMLCollection を返します。

MDN リファレンス

getElementsByTagNameNS("http://www.w3.org/2000/svg", string)
getElementsByTagNameNS(string | null, string)
getHTML(GetHTMLOptions)

Element インターフェイスの getHTML() メソッドは、要素の DOM を HTML 文字列にシリアル化するために使用されます。

MDN リファレンス

getRootNode(GetRootNodeOptions)

Node インターフェイスの getRootNode() メソッドは、コンテキスト オブジェクトのルートを返します。このルートには、シャドウ ルート (使用可能な場合) が必要に応じて含まれます。

MDN リファレンス

hasAttribute(string)

Element.hasAttribute() メソッドは、指定した要素に指定した属性があるかどうかを示すブール値を返します。

MDN リファレンス

hasAttributeNS(string | null, string)

要素インターフェイスの hasAttributeNS() メソッドは、現在の要素が指定した名前空間を持つ指定した属性を持っているかどうかを示すブール値を返します。

MDN リファレンス

hasAttributes()

要素インターフェイスの hasAttributes() メソッドは、現在の要素に属性があるかどうかを示すブール値を返します。

MDN リファレンス

hasChildNodes()

Node インターフェイスの hasChildNodes() メソッドは、指定されたノードに子ノードがあるかどうかを示すブール値を返します。

MDN リファレンス

hasPointerCapture(number)

指定されたポインター ID によって識別されるポインターのポインター キャプチャの hasPointerCapture() メソッド。

MDN リファレンス

hidePopover()

HTMLElement インターフェイスの hidePopover() メソッドは、トップ レイヤーからポップオーバー要素 (つまり、有効な popover 属性を持つ要素) を非表示にし、 display: noneでスタイルを設定します。

MDN リファレンス

insertAdjacentElement(InsertPosition, Element)

呼び出される要素に対する相対メソッドの insertAdjacentElement() メソッド。

MDN リファレンス

insertAdjacentHTML(InsertPosition, string)

指定した位置にある DOM ツリーに生成されるノードの insertAdjacentHTML() メソッド。

MDN リファレンス

insertAdjacentText(InsertPosition, string)

Element インターフェイスの insertAdjacentText() メソッドは、相対位置と文字列を指定すると、呼び出された要素を基準にして、指定された位置に新しいテキスト ノードを挿入します。

MDN リファレンス

insertBefore<T>(T, Node | null)

Node インターフェイスの insertBefore() メソッドは、指定された親ノードの子として 、参照ノード の前にノードを挿入 します。

MDN リファレンス

isDefaultNamespace(string | null)

Node インターフェイスの isDefaultNamespace() メソッドは、名前空間 URI を引数として受け入れます。

MDN リファレンス

isEqualNode(Node | null)

Node インターフェイスの isEqualNode() メソッドは、2 つのノードが等しいかどうかをテストします。

MDN リファレンス

isSameNode(Node | null)

Node インターフェイスの isSameNode() メソッドは、厳密な等値演算子 === レガシ エイリアスです。

MDN リファレンス

lookupNamespaceURI(string | null)

Node インターフェイスの lookupNamespaceURI() メソッドは、プレフィックスをパラメーターとして受け取り、特定のノードで関連付けられている名前空間 URI を返します (見つからない場合は null )。

MDN リファレンス

lookupPrefix(string | null)

Node インターフェイスの lookupPrefix() メソッドは、特定の名前空間 URI のプレフィックスを含む文字列を返します (存在する場合)。存在しない場合は null 。

MDN リファレンス

matches(string)

Element インターフェイスの matches() メソッドは、指定された CSS セレクターによって要素が選択されるかどうかをテストします。

MDN リファレンス

normalize()

Node インターフェイスの normalize() メソッドは、指定されたノードとそのすべてのサブツリーを 正規化された 形式に配置します。

MDN リファレンス

prepend((string | Node)[])

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

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

MDN リファレンス

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

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

MDN リファレンス

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

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

MDN リファレンス

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

特定の (PointerEvent) ポインターに対して以前に設定したreleasePointerCapture() メソッド。

MDN リファレンス

remove()

ノードを削除します。

MDN リファレンス

removeAttribute(string)

Element メソッド removeAttribute() 、指定した名前の属性を要素から削除します。

MDN リファレンス

removeAttributeNode(Attr)

Element インターフェイスの removeAttributeNode() メソッドは、指定した Attr ノードを要素から削除します。

MDN リファレンス

removeAttributeNS(string | null, string)

HTML を使用していて、要求された属性を特定の名前空間の一部として指定する必要がない場合は、代わりに Element.removeAttribute() メソッドを使用します。 removeAttributeNS()

MDN リファレンス

removeChild<T>(T)

Node インターフェイスの removeChild() メソッドは、DOM から子ノードを削除し、削除されたノードを返します。

MDN リファレンス

replaceChild<T>(Node, T)

Node インターフェイスの replaceChild() メソッドは、指定された (親) ノード内の子ノードを置き換えます。

MDN リファレンス

replaceChildren((string | Node)[])

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

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

MDN リファレンス

replaceWith((string | Node)[])

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

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

MDN リファレンス

requestFullscreen(FullscreenOptions)

Element.requestFullscreen() メソッドは、要素を全画面表示モードで表示するための非同期要求を発行します。

MDN リファレンス

requestPointerLock(PointerLockOptions)

Element インターフェイスの requestPointerLock() メソッドを使用すると、指定された要素でポインターをロックするように非同期的に要求できます。

MDN リファレンス

scroll(number, number)
scroll(ScrollToOptions)

Element インターフェイスの scroll() メソッドは、要素を特定の要素内の特定の座標セットまでスクロールします。

MDN リファレンス

scrollBy(number, number)
scrollBy(ScrollToOptions)

Element インターフェイスの scrollBy() メソッドは、指定された量で要素をスクロールします。

MDN リファレンス

scrollIntoView(boolean | ScrollIntoViewOptions)

Element インターフェイスの scrollIntoView() メソッドは、 scrollIntoView() が呼び出された要素がユーザーに表示されるように、要素の先祖コンテナーをスクロールします。

MDN リファレンス

scrollTo(number, number)
scrollTo(ScrollToOptions)

Element インターフェイスの scrollTo() メソッドは、特定の要素内の特定の座標セットまでスクロールします。

MDN リファレンス

setAttribute(string, string)

Element インターフェイスの setAttribute() メソッドは、指定した要素の属性の値を設定します。

MDN リファレンス

setAttributeNode(Attr)

Element インターフェイスの setAttributeNode() メソッドは、指定した要素に新しい Attr ノードを追加します。

MDN リファレンス

setAttributeNodeNS(Attr)

Element インターフェイスの setAttributeNodeNS() メソッドは、新しい名前空間の Attr ノードを要素に追加します。

MDN リファレンス

setAttributeNS(string | null, string, string)

setAttributeNS は、新しい属性を追加するか、指定された名前空間と名前を持つ属性の値を変更します。

MDN リファレンス

setHTMLUnsafe(string)

Element インターフェイスの setHTMLUnsafe() メソッドは、HTML の文字列を DocumentFragment に解析するために使用され、必要に応じて不要な要素と属性、およびコンテキストに属していない要素と属性をフィルター処理し、それを使用して DOM 内の要素のサブツリーを置き換えます。

MDN リファレンス

setPointerCapture(number)

将来のポインター イベントのキャプチャ ターゲットのsetPointerCapture()メソッド。

MDN リファレンス

showPopover()

HTMLElement インターフェイスの showPopover() メソッドは、Popover_API要素 (つまり、有効な popover 属性を持つ要素) を最上位レイヤーに追加することによって表示します。

MDN リファレンス

toggleAttribute(string, boolean)

present の toggleAttribute() メソッドであり、存在しない場合はそれを追加します)、指定された要素に対して追加します。

MDN リファレンス

togglePopover(boolean)

HTMLElement インターフェイスの togglePopover() メソッドは、非表示状態と表示状態の間で、Popover_API要素 (有効な popover 属性を持つ要素) を切り替えます。

MDN リファレンス

webkitMatchesSelector(string)

プロパティの詳細

align

警告

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

align: string

プロパティ値

string

allow

HTMLIFrameElement インターフェイスの allow プロパティは、この <iframe> 要素に対して指定されたアクセス許可ポリシーを示します。

MDN リファレンス

allow: string

プロパティ値

string

allowFullscreen

HTMLIFrameElement インターフェイスの allowFullscreen プロパティは、iframe 要素の allowfullscreen 属性を反映するブール値で、iframe のコンテンツで Element.requestFullscreen を使用できるかどうかを示します。

MDN リファレンス

allowFullscreen: boolean

プロパティ値

boolean

classList

Element.classListは、要素のclass属性のライブ DOMTokenList コレクションを返す読み取り専用プロパティです。

MDN リファレンス

DOMTokenList classList

プロパティ値

DOMTokenList

contentDocument

iframe と iframe の親ドキュメントが同じ原点である場合は、 Document (つまり、インライン フレームの入れ子になった参照コンテキスト内のアクティブなドキュメント) を返します。それ以外の場合は、 nullを返します。

MDN リファレンス

contentDocument: Document | null

プロパティ値

Document | null

contentWindow

contentWindow プロパティは、HTMLIFrameElement の Window オブジェクトを返します。

MDN リファレンス

contentWindow: Window | null

プロパティ値

Window | null

frameBorder

警告

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

frameBorder: string

プロパティ値

string

height

HTMLIFrameElement インターフェイスの height プロパティは、フレームの高さを CSS ピクセル単位で示す、iframe 要素の height 属性を反映する文字列を返します。

MDN リファレンス

height: string

プロパティ値

string

loading

HTMLIFrameElement インターフェイスの loading プロパティは、iframe をページの読み込み時にすぐに読み込む必要があるか、または必要なときにのみ読み込む必要があるかを示すヒントをユーザー エージェントに提供する文字列です。

MDN リファレンス

loading: "eager" | "lazy"

プロパティ値

"eager" | "lazy"

longDesc

警告

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

longDesc: string

プロパティ値

string

marginHeight

警告

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

marginHeight: string

プロパティ値

string

marginWidth

警告

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

marginWidth: string

プロパティ値

string

mozRequestFullScreen

mozRequestFullScreen: Function

プロパティ値

Function

msRequestFullscreen

msRequestFullscreen: Function

プロパティ値

Function

name

HTMLIFrameElement インターフェイスの name プロパティは、iframe 要素の name 属性を反映する文字列値で、 <iframe> 要素の特定の名前を示します。

MDN リファレンス

name: string

プロパティ値

string

part

Element インターフェイスの part プロパティは、DOMTokenList として返される要素のパーツ識別子 (つまり、 part 属性を使用して設定) を表します。

MDN リファレンス

DOMTokenList part

プロパティ値

DOMTokenList

referrerPolicy

HTMLIFrameElement.referrerPolicy プロパティには、リソースの HTML referrerpolicy属性が反映されます。

MDN リファレンス

referrerPolicy: ReferrerPolicy

プロパティ値

ReferrerPolicy

sandbox

HTMLIFrameElement インターフェイスの sandbox 読み取り専用プロパティは、入れ子になったコンテンツの動作に関する追加の制限を示す DOMTokenList を返します。

MDN リファレンス

DOMTokenList sandbox

プロパティ値

DOMTokenList

scrolling

警告

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

scrolling: string

プロパティ値

string

src

HTMLIFrameElement.src埋め込むコンテンツのアドレスを含む、src HTML 属性を反映する文字列。

MDN リファレンス

src: string

プロパティ値

string

srcdoc

HTMLIFrameElement の srcdoc プロパティは、ページの内容を指定します。

MDN リファレンス

srcdoc: string

プロパティ値

string

style

MDN リファレンス

CSSStyleDeclaration style

プロパティ値

CSSStyleDeclaration

textContent

MDN リファレンス

string textContent

プロパティ値

string

webkitRequestFullscreen

webkitRequestFullscreen: () => void

プロパティ値

() => void

width

HTMLIFrameElement インターフェイスの width プロパティは、フレームの幅を CSS ピクセル単位で示す、iframe 要素の width 属性を反映する文字列を返します。

MDN リファレンス

width: string

プロパティ値

string

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

accessKey

HTMLElement.accessKey プロパティは、ユーザーが押して特定の要素にジャンプできるキーストロークを設定します。

MDN リファレンス

accessKey: string

プロパティ値

string

htmlElement.accessKey から継承

accessKeyLabel

HTMLElement.accessKeyLabel読み取り専用プロパティは、要素のブラウザー割り当てアクセス キー (存在する場合) を含む文字列を返します。それ以外の場合は空の文字列を返します。

MDN リファレンス

accessKeyLabel: string

プロパティ値

string

継承された HTMLElement.accessKeyLabel

ariaActiveDescendantElement

MDN リファレンス

ariaActiveDescendantElement: Element | null

プロパティ値

Element | null

Inherited From HTMLElement.ariaActiveDescendantElement

ariaAtomic

MDN リファレンス

ariaAtomic: string | null

プロパティ値

string | null

HTMLElement.ariaAtomic から継承された

ariaAutoComplete

MDN リファレンス

ariaAutoComplete: string | null

プロパティ値

string | null

HTMLElement.ariaAutoComplete から継承された

ariaBrailleLabel

MDN リファレンス

ariaBrailleLabel: string | null

プロパティ値

string | null

Inherited From HTMLElement.ariaBrailleLabel

ariaBrailleRoleDescription

MDN リファレンス

ariaBrailleRoleDescription: string | null

プロパティ値

string | null

Inherited From HTMLElement.ariaBrailleRoleDescription

ariaBusy

MDN リファレンス

ariaBusy: string | null

プロパティ値

string | null

HTMLElement.ariaBusy から継承された

ariaChecked

MDN リファレンス

ariaChecked: string | null

プロパティ値

string | null

HTMLElement.ariaChecked から継承された

ariaColCount

MDN リファレンス

ariaColCount: string | null

プロパティ値

string | null

HTMLElement.ariaColCount から継承された

ariaColIndex

MDN リファレンス

ariaColIndex: string | null

プロパティ値

string | null

HTMLElement.ariaColIndex から継承された

ariaColIndexText

MDN リファレンス

ariaColIndexText: string | null

プロパティ値

string | null

HTMLElement.ariaColIndexText から継承された

ariaColSpan

MDN リファレンス

ariaColSpan: string | null

プロパティ値

string | null

HTMLElement.ariaColSpan から継承された

ariaControlsElements

MDN リファレンス

ariaControlsElements: (readonly Element[]) | null

プロパティ値

(readonly Element[]) | null

Inherited From HTMLElement.ariaControlsElements

ariaCurrent

MDN リファレンス

ariaCurrent: string | null

プロパティ値

string | null

HTMLElement.ariaCurrent から継承された

ariaDescribedByElements

MDN リファレンス

ariaDescribedByElements: (readonly Element[]) | null

プロパティ値

(readonly Element[]) | null

Inherited From HTMLElement.ariaDescribedByElements

ariaDescription

MDN リファレンス

ariaDescription: string | null

プロパティ値

string | null

Inherited From HTMLElement.ariaDescription

ariaDetailsElements

MDN リファレンス

ariaDetailsElements: (readonly Element[]) | null

プロパティ値

(readonly Element[]) | null

Inherited From HTMLElement.ariaDetailsElements

ariaDisabled

MDN リファレンス

ariaDisabled: string | null

プロパティ値

string | null

HTMLElement.ariaDisabled から継承された

ariaErrorMessageElements

MDN リファレンス

ariaErrorMessageElements: (readonly Element[]) | null

プロパティ値

(readonly Element[]) | null

Inherited From HTMLElement.ariaErrorMessageElements

ariaExpanded

MDN リファレンス

ariaExpanded: string | null

プロパティ値

string | null

HTMLElement.ariaExpanded から継承された

ariaFlowToElements

MDN リファレンス

ariaFlowToElements: (readonly Element[]) | null

プロパティ値

(readonly Element[]) | null

Inherited From HTMLElement.ariaFlowToElements

ariaHasPopup

MDN リファレンス

ariaHasPopup: string | null

プロパティ値

string | null

HTMLElement.ariaHasPopup から継承された

ariaHidden

MDN リファレンス

ariaHidden: string | null

プロパティ値

string | null

HTMLElement.ariaHidden から継承された

ariaInvalid

MDN リファレンス

ariaInvalid: string | null

プロパティ値

string | null

HTMLElement.ariaInvalid から継承された

ariaKeyShortcuts

MDN リファレンス

ariaKeyShortcuts: string | null

プロパティ値

string | null

HTMLElement.ariaKeyShortcuts から継承された

ariaLabel

MDN リファレンス

ariaLabel: string | null

プロパティ値

string | null

HTMLElement.ariaLabel から継承された

ariaLabelledByElements

MDN リファレンス

ariaLabelledByElements: (readonly Element[]) | null

プロパティ値

(readonly Element[]) | null

Inherited From HTMLElement.ariaLabelledByElements

ariaLevel

MDN リファレンス

ariaLevel: string | null

プロパティ値

string | null

HTMLElement.ariaLevel から継承された

ariaLive

MDN リファレンス

ariaLive: string | null

プロパティ値

string | null

HTMLElement.ariaLive から継承された

ariaModal

MDN リファレンス

ariaModal: string | null

プロパティ値

string | null

HTMLElement.ariaModal から継承された

ariaMultiLine

MDN リファレンス

ariaMultiLine: string | null

プロパティ値

string | null

HTMLElement.ariaMultiLine から継承

ariaMultiSelectable

MDN リファレンス

ariaMultiSelectable: string | null

プロパティ値

string | null

HTMLElement.ariaMultiSelectable から継承された

ariaOrientation

MDN リファレンス

ariaOrientation: string | null

プロパティ値

string | null

HTMLElement.ariaOrientation から継承された

ariaOwnsElements

MDN リファレンス

ariaOwnsElements: (readonly Element[]) | null

プロパティ値

(readonly Element[]) | null

Inherited From HTMLElement.ariaOwnsElements

ariaPlaceholder

MDN リファレンス

ariaPlaceholder: string | null

プロパティ値

string | null

HTMLElement.ariaPlaceholder から継承された

ariaPosInSet

MDN リファレンス

ariaPosInSet: string | null

プロパティ値

string | null

htmlElement.ariaPosInSet から継承

ariaPressed

MDN リファレンス

ariaPressed: string | null

プロパティ値

string | null

HTMLElement.ariaPressed から継承された

ariaReadOnly

MDN リファレンス

ariaReadOnly: string | null

プロパティ値

string | null

HTMLElement.ariaReadOnly から継承された

ariaRelevant

MDN リファレンス

ariaRelevant: string | null

プロパティ値

string | null

Inherited From HTMLElement.ariaRelevant

ariaRequired

MDN リファレンス

ariaRequired: string | null

プロパティ値

string | null

HTMLElement.ariaRequired から継承された

ariaRoleDescription

MDN リファレンス

ariaRoleDescription: string | null

プロパティ値

string | null

HTMLElement.ariaRoleDescription から継承された

ariaRowCount

MDN リファレンス

ariaRowCount: string | null

プロパティ値

string | null

HTMLElement.ariaRowCount から継承された

ariaRowIndex

MDN リファレンス

ariaRowIndex: string | null

プロパティ値

string | null

HTMLElement.ariaRowIndex から継承された

ariaRowIndexText

MDN リファレンス

ariaRowIndexText: string | null

プロパティ値

string | null

HTMLElement.ariaRowIndexText から継承

ariaRowSpan

MDN リファレンス

ariaRowSpan: string | null

プロパティ値

string | null

HTMLElement.ariaRowspan から継承された

ariaSelected

MDN リファレンス

ariaSelected: string | null

プロパティ値

string | null

HTMLElement.ariaSelected から継承された

ariaSetSize

MDN リファレンス

ariaSetSize: string | null

プロパティ値

string | null

HTMLElement.ariaSetSize から継承された

ariaSort

MDN リファレンス

ariaSort: string | null

プロパティ値

string | null

HTMLElement.ariaSort から継承された

ariaValueMax

MDN リファレンス

ariaValueMax: string | null

プロパティ値

string | null

HTMLElement.ariaValueMax から継承された

ariaValueMin

MDN リファレンス

ariaValueMin: string | null

プロパティ値

string | null

HTMLElement.ariaValueMin から継承された

ariaValueNow

MDN リファレンス

ariaValueNow: string | null

プロパティ値

string | null

HTMLElement.ariaValueNow から継承された

ariaValueText

MDN リファレンス

ariaValueText: string | null

プロパティ値

string | null

htmlElement.ariaValueText から継承

assignedSlot

MDN リファレンス

assignedSlot: HTMLSlotElement | null

プロパティ値

HTMLSlotElement | null

htmlElement.assignedSlot から継承

attributes

Element.attributes プロパティは、指定したノードに登録されているすべての属性ノードのライブ コレクションを返します。

MDN リファレンス

attributes: NamedNodeMap

プロパティ値

NamedNodeMap

HTMLElement.attributes から継承された

attributeStyleMap

MDN リファレンス

attributeStyleMap: StylePropertyMap

プロパティ値

StylePropertyMap

Inherited From HTMLElement.attributeStyleMap

ATTRIBUTE_NODE

ATTRIBUTE_NODE: 2

プロパティ値

2

HTMLElement.ATTRIBUTE_NODE から継承された

autocapitalize

HTMLElement インターフェイスの autocapitalize プロパティは、ユーザー入力の要素の大文字と小文字の設定の動作を表します。

MDN リファレンス

autocapitalize: string

プロパティ値

string

継承された HTMLElement.autocapitalize

autocorrect

HTMLElement インターフェイスの autocorrect プロパティは、編集可能なテキストの自動修正がスペル ミスや句読点エラーに対して有効かどうかを制御します。

MDN リファレンス

autocorrect: boolean

プロパティ値

boolean

Inherited From HTMLElement.autocorrect

autofocus

MDN リファレンス

autofocus: boolean

プロパティ値

boolean

継承 HTMLElement.autofocus

baseURI

Node インターフェイスの読み取り専用 baseURI プロパティは、ノードを含むドキュメントの絶対ベース URL を返します。

MDN リファレンス

baseURI: string

プロパティ値

string

継承元 HTMLElement.baseURI

CDATA_SECTION_NODE

node は CDATASection ノードです。

CDATA_SECTION_NODE: 4

プロパティ値

4

HTMLElement.CDATA_SECTION_NODE から継承された

childElementCount

MDN リファレンス

childElementCount: number

プロパティ値

number

htmlElement.childElementCount から継承

childNodes

Node インターフェイスの読み取り専用 childNodes プロパティは、最初の子ノードにインデックスが割り当てられたライブ 0を返します。

MDN リファレンス

childNodes: NodeListOf<ChildNode>

プロパティ値

NodeListOf<ChildNode>

HTMLElement.childNodes から継承されます

children

子要素を返します。

MDN リファレンス

children: HTMLCollection

プロパティ値

HTMLCollection

HTMLElement.children から継承された

className

指定した要素の className プロパティ。

MDN リファレンス

className: string

プロパティ値

string

継承 HTMLElement.className

clientHeight

要素インターフェイスの clientHeight 読み取り専用プロパティは、CSS またはインライン レイアウト ボックスのない要素の場合は 0 です。それ以外の場合は、要素の内側の高さ (ピクセル単位) です。

MDN リファレンス

clientHeight: number

プロパティ値

number

HTMLElement.clientHeight から継承された

clientLeft

要素インターフェイスの clientLeft 読み取り専用プロパティは、要素の左境界線の幅をピクセル単位で返します。

MDN リファレンス

clientLeft: number

プロパティ値

number

htmlElement.clientLeft から継承

clientTop

要素インターフェイスの clientTop 読み取り専用プロパティは、要素の上罫線の幅をピクセル単位で返します。

MDN リファレンス

clientTop: number

プロパティ値

number

HTMLElement.clientTop から継承された

clientWidth

要素インターフェイスの clientWidth 読み取り専用プロパティは、CSS のないインライン要素と要素の場合は 0 です。それ以外の場合は、要素の内側の幅 (ピクセル単位) です。

MDN リファレンス

clientWidth: number

プロパティ値

number

継承された HTMLElement.clientWidth

COMMENT_NODE

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

COMMENT_NODE: 8

プロパティ値

8

HTMLElement.COMMENT_NODE から継承された

contentEditable

MDN リファレンス

contentEditable: string

プロパティ値

string

HTMLElement.contentEditable から継承された

currentCSSZoom

要素インターフェイスの currentCSSZoom 読み取り専用プロパティは、要素とそのすべての親要素に適用されるズームを考慮して、要素の 'effective' CSS zoom を提供します。

MDN リファレンス

currentCSSZoom: number

プロパティ値

number

Inherited From HTMLElement.currentCSSZoom

dataset

MDN リファレンス

dataset: DOMStringMap

プロパティ値

DOMStringMap

HTMLElement.dataset から継承

dir

HTMLElement.dir プロパティは、現在の要素のコンテンツの書き込み方向を示します。

MDN リファレンス

dir: string

プロパティ値

string

htmlElement.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

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

DOCUMENT_POSITION_CONTAINED_BY: 16

プロパティ値

16

HTMLElement.DOCUMENT_POSITION_CONTAINED_BY から継承された

DOCUMENT_POSITION_CONTAINS

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

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

HTMLElement インターフェイスの draggable プロパティは、要素がドラッグ可能かどうかを示すブール型プリミティブを取得および設定します。

MDN リファレンス

draggable: boolean

プロパティ値

boolean

継承された HTMLElement.draggable

ELEMENT_NODE

node は要素です。

ELEMENT_NODE: 1

プロパティ値

1

HTMLElement.ELEMENT_NODE から継承された

enterKeyHint

MDN リファレンス

enterKeyHint: string

プロパティ値

string

継承 HTMLElement.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 します。

MDN リファレンス

firstChild: ChildNode | null

プロパティ値

ChildNode | null

HTMLElement.firstChild から継承された

firstElementChild

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

MDN リファレンス

firstElementChild: Element | null

プロパティ値

Element | null

htmlElement.firstElementChild から継承

hidden

HTMLElement プロパティ hidden は、要素の hidden 属性の値を反映します。

MDN リファレンス

hidden: boolean

プロパティ値

boolean

HTMLElement.hidden から継承された

id

Element インターフェイスの id プロパティは、 id グローバル属性を反映する要素の識別子を表します。

MDN リファレンス

id: string

プロパティ値

string

HTMLElement.id から継承された

inert

HTMLElement プロパティ inert は、要素の inert 属性の値を反映します。

MDN リファレンス

inert: boolean

プロパティ値

boolean

HTMLElement.inert から継承された

innerHTML

要素インターフェイスの innerHTML プロパティは、要素内に含まれる HTML または XML マークアップを取得または設定します。

MDN リファレンス

innerHTML: string

プロパティ値

string

HTMLElement.innerHTML から継承された

innerText

HTMLElement インターフェイスの innerText プロパティは、ノードとその子孫のレンダリングされたテキスト コンテンツを表します。

MDN リファレンス

innerText: string

プロパティ値

string

htmlElement.innerText から継承

inputMode

MDN リファレンス

inputMode: string

プロパティ値

string

HTMLElement.inputMode から継承された

isConnected

Node インターフェイスの読み取り専用 isConnected プロパティは、ノードが Document オブジェクトに (直接的または間接的に) 接続されているかどうかを示すブール値を返します。

MDN リファレンス

isConnected: boolean

プロパティ値

boolean

継承された HTMLElement.isConnected

isContentEditable

MDN リファレンス

isContentEditable: boolean

プロパティ値

boolean

HTMLElement.isContentEditable から継承された

lang

HTMLElement インターフェイスの lang プロパティは、要素の属性値とテキスト コンテンツの基本言語を MISSING( RFC(5646, 'BCP 47 言語識別子タグ') の形式で示します。

MDN リファレンス

lang: string

プロパティ値

string

HTMLElement.lang から継承された

lastChild

Node インターフェイスの読み取り専用 lastChild プロパティは、ノードの最後の子を返します。子ノードがない場合は null します。

MDN リファレンス

lastChild: ChildNode | null

プロパティ値

ChildNode | null

HTMLElement.lastChild から継承された

lastElementChild

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

MDN リファレンス

lastElementChild: Element | null

プロパティ値

Element | null

から継承 HTMLElement.lastElementChild

localName

Element.localName読み取り専用プロパティは、要素の修飾名のローカル部分を返します。

MDN リファレンス

localName: string

プロパティ値

string

HTMLElement.localName から継承

namespaceURI

Element.namespaceURI読み取り専用プロパティは、要素の名前空間 URI を返します。または、要素が名前空間にない場合はnullします。

MDN リファレンス

namespaceURI: string | null

プロパティ値

string | null

HTMLElement.namespaceURI から継承された

nextElementSibling

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

MDN リファレンス

nextElementSibling: Element | null

プロパティ値

Element | null

HTMLElement.nextElementSibling から継承された

nextSibling

Node インターフェイスの読み取り専用 nextSibling プロパティは、親の Node.childNodes で指定されたノードのすぐ後にあるノードを返すか、指定したノードが親要素の最後の子である場合は null を返します。

MDN リファレンス

nextSibling: ChildNode | null

プロパティ値

ChildNode | null

HTMLElement.nextSibling から継承された

nodeName

Node の読み取り専用 nodeName プロパティは、現在のノードの名前を文字列として返します。

MDN リファレンス

nodeName: string

プロパティ値

string

htmlElement.nodeName から継承

nodeType

Node インターフェイスの読み取り専用 nodeType プロパティは、ノードが何であるかを識別する整数です。

MDN リファレンス

nodeType: number

プロパティ値

number

HTMLElement.nodeType から継承された

nodeValue

Node インターフェイスの nodeValue プロパティは、現在のノードの値を取得または設定します。

MDN リファレンス

nodeValue: string | null

プロパティ値

string | null

htmlElement.nodeValue から継承

nonce

MDN リファレンス

nonce?: string

プロパティ値

string

HTMLElement.nonce から継承された

NOTATION_NODE

NOTATION_NODE: 12

プロパティ値

12

HTMLElement.NOTATION_NODE から継承された

offsetHeight

HTMLElement インターフェイスの offsetHeight 読み取り専用プロパティは、垂直方向の埋め込みと罫線を含む要素の高さを整数として返します。

MDN リファレンス

offsetHeight: number

プロパティ値

number

HTMLElement.offsetHeight から継承された

offsetLeft

HTMLElement インターフェイスの offsetLeft 読み取り専用プロパティは、現在の要素の 左上隅 が HTMLElement.offsetParent ノード内の左側にオフセットされるピクセル数を返します。

MDN リファレンス

offsetLeft: number

プロパティ値

number

HTMLElement.offsetLeft から継承された

offsetParent

HTMLElement.offsetParent読み取り専用プロパティは、最も近い (コンテインメント階層内で最も近い) 位置の先祖要素である要素への参照を返します。

MDN リファレンス

offsetParent: Element | null

プロパティ値

Element | null

htmlElement.offsetParent から継承

offsetTop

HTMLElement インターフェイスの offsetTop 読み取り専用プロパティは、現在の要素の外側の境界線 (余白を含む) から 、最も近い位置 にある先祖要素である HTMLelement.offsetParent の上端までの距離を返します。

MDN リファレンス

offsetTop: number

プロパティ値

number

HTMLElement.offsetTop から継承された

offsetWidth

HTMLElement インターフェイスの offsetWidth 読み取り専用プロパティは、要素のレイアウト幅を整数として返します。

MDN リファレンス

offsetWidth: number

プロパティ値

number

継承 HTMLElement.offsetWidth

onabort

MDN リファレンス

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

プロパティ値

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

HTMLElement.onabort から継承された

onanimationcancel

MDN リファレンス

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

プロパティ値

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

HTMLElement.onanimationcancel から継承された

onanimationend

MDN リファレンス

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

プロパティ値

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

継承 HTMLElement.onanimationend

onanimationiteration

MDN リファレンス

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

プロパティ値

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

HTMLElement.onanimationiteration から継承された

onanimationstart

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onanimationstart

onauxclick

MDN リファレンス

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

プロパティ値

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

HTMLElement.onauxclick から継承された

onbeforeinput

MDN リファレンス

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

プロパティ値

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

htmlElement.onbeforeinput 継承された

onbeforematch

MDN リファレンス

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

プロパティ値

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

Inherited From HTMLElement.onbeforematch

onbeforetoggle

MDN リファレンス

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

プロパティ値

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

Inherited From HTMLElement.onbeforetoggle

onblur

MDN リファレンス

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

プロパティ値

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

htmlElement.onblur から継承

oncancel

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.oncancel

oncanplay

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.oncanplay

oncanplaythrough

MDN リファレンス

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

プロパティ値

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

HTMLElement.oncanplaythrough から継承された

onchange

MDN リファレンス

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

プロパティ値

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

HTMLElement.onchange から継承された

onclick

MDN リファレンス

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

プロパティ値

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

HTMLElement.onclick から継承された

onclose

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onclose

oncontextlost

MDN リファレンス

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

プロパティ値

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

Inherited From HTMLElement.oncontextlost

oncontextmenu

MDN リファレンス

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

プロパティ値

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

HTMLElement.oncontextmenu から継承された

oncontextrestored

MDN リファレンス

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

プロパティ値

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

Inherited From HTMLElement.oncontextrestored

oncopy

MDN リファレンス

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

プロパティ値

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

HTMLElement.oncopy から継承された

oncuechange

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.oncuechange

oncut

MDN リファレンス

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

プロパティ値

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

HTMLElement.oncut から継承された

ondblclick

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.ondblclick

ondrag

MDN リファレンス

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

プロパティ値

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

htmlElement.ondrag から継承

ondragend

MDN リファレンス

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

プロパティ値

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

HTMLElement.ondragend から継承された

ondragenter

MDN リファレンス

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

プロパティ値

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

継承元 HTMLElement.ondragenter

ondragleave

MDN リファレンス

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

プロパティ値

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

htmlElement.ondragleave から継承

ondragover

MDN リファレンス

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

プロパティ値

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

HTMLElement.ondragover から継承された

ondragstart

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.ondragstart

ondrop

MDN リファレンス

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

プロパティ値

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

HTMLElement.ondrop から継承された

ondurationchange

MDN リファレンス

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

プロパティ値

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

HTMLElement.ondurationchange から継承された

onemptied

MDN リファレンス

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

プロパティ値

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

HTMLElement.onemptied から継承された

onended

MDN リファレンス

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

プロパティ値

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

から継承 HTMLElement.onended

onerror

MDN リファレンス

onerror: OnErrorEventHandler

プロパティ値

OnErrorEventHandler

HTMLElement.onerror から継承された

onfocus

MDN リファレンス

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

プロパティ値

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

HTMLElement.onfocus から継承された

onformdata

MDN リファレンス

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

プロパティ値

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

HTMLElement.onformdata から継承された

onfullscreenchange

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onfullscreenchange

onfullscreenerror

MDN リファレンス

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

プロパティ値

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

から継承 HTMLElement.onfullscreenerror

ongotpointercapture

MDN リファレンス

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

プロパティ値

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

継承元 HTMLElement.ongotpointercapture

oninput

MDN リファレンス

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

プロパティ値

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

htmlElement.oninput から継承

oninvalid

MDN リファレンス

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

プロパティ値

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

HTMLElement.oninvalid から継承された

onkeydown

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onkeydown

onkeypress

警告

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

MDN Reference

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

プロパティ値

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

HTMLElement.onkeypress から継承された

onkeyup

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onkeyup

onload

MDN リファレンス

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

プロパティ値

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

HTMLElement.onload から継承された

onloadeddata

MDN リファレンス

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

プロパティ値

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

htmlElement.onloadeddata から継承

onloadedmetadata

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onloadedmetadata

onloadstart

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onloadstart

onlostpointercapture

MDN リファレンス

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

プロパティ値

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

継承元 HTMLElement.onlostpointercapture

onmousedown

MDN リファレンス

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

プロパティ値

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

HTMLElement.onmousedown から継承された

onmouseenter

MDN リファレンス

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

プロパティ値

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

HTMLElement.onmouseenter から継承された

onmouseleave

MDN リファレンス

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

プロパティ値

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

HTMLElement.onmouseleave から継承された

onmousemove

MDN リファレンス

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

プロパティ値

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

HTMLElement.onmousemove から継承された

onmouseout

MDN リファレンス

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

プロパティ値

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

HTMLElement.onmouseout から継承された

onmouseover

MDN リファレンス

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

プロパティ値

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

HTMLElement.onmouseover から継承された

onmouseup

MDN リファレンス

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

プロパティ値

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

HTMLElement.onmouseup から継承された

onpaste

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onpaste

onpause

MDN リファレンス

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

プロパティ値

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

HTMLElement.onpause から継承された

onplay

MDN リファレンス

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

プロパティ値

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

HTMLElement.onplay から継承された

onplaying

MDN リファレンス

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

プロパティ値

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

HTMLElement.onplaying から継承された

onpointercancel

MDN リファレンス

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

プロパティ値

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

継承元 HTMLElement.onpointercancel

onpointerdown

MDN リファレンス

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

プロパティ値

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

継承元 HTMLElement.onpointerdown

onpointerenter

MDN リファレンス

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

プロパティ値

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

継承元 HTMLElement.onpointerenter

onpointerleave

MDN リファレンス

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

プロパティ値

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

HTMLElement.onpointerleave から継承された

onpointermove

MDN リファレンス

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

プロパティ値

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

継承元 HTMLElement.onpointermove

onpointerout

MDN リファレンス

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

プロパティ値

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

HTMLElement.onpointerout から継承された

onpointerover

MDN リファレンス

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

プロパティ値

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

HTMLElement.onpointerover から継承された

onpointerrawupdate

セキュリティで保護されたコンテキストでのみ使用できます。

MDN リファレンス

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

プロパティ値

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

Inherited From HTMLElement.onpointerrawupdate

onpointerup

MDN リファレンス

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

プロパティ値

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

HTMLElement.onpointerup から継承された

onprogress

MDN リファレンス

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

プロパティ値

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

HTMLElement.onprogress から継承された

onratechange

MDN リファレンス

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

プロパティ値

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

HTMLElement.onratechange から継承された

onreset

MDN リファレンス

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

プロパティ値

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

htmlElement.onreset から継承

onresize

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onresize

onscroll

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onscroll

onscrollend

MDN リファレンス

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

プロパティ値

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

Inherited From HTMLElement.onscrollend

onsecuritypolicyviolation

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onsecuritypolicyviolation

onseeked

MDN リファレンス

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

プロパティ値

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

継承 HTMLElement.onseeked

onseeking

MDN リファレンス

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

プロパティ値

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

HTMLElement.onseeking から継承された

onselect

MDN リファレンス

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

プロパティ値

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

htmlElement.onselect から継承された

onselectionchange

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onselectionchange

onselectstart

MDN リファレンス

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

プロパティ値

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

htmlElement.onselectstart から継承

onslotchange

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.onslotchange

onstalled

MDN リファレンス

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

プロパティ値

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

HTMLElement.onstalled から継承された

onsubmit

MDN リファレンス

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

プロパティ値

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

htmlElement.onsubmit から継承

onsuspend

MDN リファレンス

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

プロパティ値

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

継承 HTMLElement.onsuspend

ontimeupdate

MDN リファレンス

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

プロパティ値

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

HTMLElement.ontimeupdate から継承された

ontoggle

MDN リファレンス

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

プロパティ値

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

HTMLElement.ontoggle から継承された

ontouchcancel

MDN リファレンス

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

プロパティ値

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

HTMLElement.ontouchcancel から継承された

ontouchend

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.ontouchend

ontouchmove

MDN リファレンス

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

プロパティ値

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

継承 HTMLElement.ontouchmove

ontouchstart

MDN リファレンス

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

プロパティ値

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

HTMLElement.ontouchstart から継承された

ontransitioncancel

MDN リファレンス

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

プロパティ値

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

継承 HTMLElement.ontransitioncancel

ontransitionend

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.ontransitionend

ontransitionrun

MDN リファレンス

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

プロパティ値

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

HTMLElement.ontransitionrun から継承された

ontransitionstart

MDN リファレンス

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

プロパティ値

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

継承された HTMLElement.ontransitionstart

onvolumechange

MDN リファレンス

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

プロパティ値

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

HTMLElement.onvolumechange から継承された

onwaiting

MDN リファレンス

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

プロパティ値

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

HTMLElement.onwaiting から継承された

onwebkitanimationend

警告

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

This is a legacy alias of onanimationend.

MDN Reference

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

プロパティ値

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

HTMLElement.onwebkitanimationend から継承されます

onwebkitanimationiteration

警告

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

This is a legacy alias of onanimationiteration.

MDN Reference

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

プロパティ値

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

HTMLElement.onwebkitanimationiteration から継承されます

onwebkitanimationstart

警告

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

This is a legacy alias of onanimationstart.

MDN Reference

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

プロパティ値

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

継承された HTMLElement.onwebkitanimationstart

onwebkittransitionend

警告

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

This is a legacy alias of ontransitionend.

MDN Reference

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

プロパティ値

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

htmlElement.onwebkittransitionend 継承された

onwheel

MDN リファレンス

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

プロパティ値

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

HTMLElement.onwheel から継承された

outerHTML

Element DOM インターフェイスの outerHTML 属性は、その子孫を含む要素を記述するシリアル化された HTML フラグメントを取得します。

MDN リファレンス

outerHTML: string

プロパティ値

string

htmlElement.outerHTML から継承

outerText

HTMLElement インターフェイスの outerText プロパティは、HTMLElement.innerText と同じ値を返します。

MDN リファレンス

outerText: string

プロパティ値

string

HTMLElement.outerText から継承された

ownerDocument

Node インターフェイスの読み取り専用 ownerDocument プロパティは、ノードの最上位のドキュメント オブジェクトを返します。

MDN リファレンス

ownerDocument: Document

プロパティ値

htmlElement.ownerDocument から継承

parentElement

Node インターフェイスの読み取り専用 parentElement プロパティは、DOM ノードの親要素を返します。または、ノードに親がない場合、またはその親が DOM 要素でない場合は null します。

MDN リファレンス

parentElement: HTMLElement | null

プロパティ値

HTMLElement | null

htmlElement.parentElement から継承

parentNode

Node インターフェイスの読み取り専用 parentNode プロパティは、DOM ツリー内の指定されたノードの親を返します。

MDN リファレンス

parentNode: ParentNode | null

プロパティ値

ParentNode | null

継承された HTMLElement.parentNode

popover

HTMLElement インターフェイスの popover プロパティは、JavaScript ('auto'、 'hint'、または 'manual') を使用して要素のポップオーバー状態を取得および設定し、機能検出に使用できます。

MDN リファレンス

popover: string | null

プロパティ値

string | null

Inherited From HTMLElement.popover

prefix

Element.prefix読み取り専用プロパティは、指定した要素の名前空間プレフィックスを返します。プレフィックスが指定されていない場合はnullします。

MDN リファレンス

prefix: string | null

プロパティ値

string | null

htmlElement.prefix から継承

previousElementSibling

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

MDN リファレンス

previousElementSibling: Element | null

プロパティ値

Element | null

HTMLElement.previousElementSibling から継承された

previousSibling

Node インターフェイスの読み取り専用 previousSibling プロパティは、指定したノードがその親の指定したノードの直前にあるノードを返します。指定したノードがそのリストの最初のノードである場合は、 null を返します。

MDN リファレンス

previousSibling: ChildNode | null

プロパティ値

ChildNode | null

HTMLElement.previousSibling から継承された

PROCESSING_INSTRUCTION_NODE

ノードは ProcessingInstruction ノードです。

PROCESSING_INSTRUCTION_NODE: 7

プロパティ値

7

HTMLElement.PROCESSING_INSTRUCTION_NODE から継承された

role

MDN リファレンス

role: string | null

プロパティ値

string | null

HTMLElement.role から継承

scrollHeight

要素インターフェイスの scrollHeight 読み取り専用プロパティは、オーバーフローが原因で画面に表示されないコンテンツを含む、要素のコンテンツの高さの測定です。

MDN リファレンス

scrollHeight: number

プロパティ値

number

HTMLElement.scrollHeight から継承された

scrollLeft

Element インターフェイスの scrollLeft プロパティは、要素のコンテンツが左端からスクロールされるピクセル数を取得または設定します。

MDN リファレンス

scrollLeft: number

プロパティ値

number

継承された HTMLElement.scrollLeft

scrollTop

要素インターフェイスの scrollTop プロパティは、要素のコンテンツが上端からスクロールされるピクセル数を取得または設定します。

MDN リファレンス

scrollTop: number

プロパティ値

number

htmlElement.scrollTop から継承

scrollWidth

要素インターフェイスの scrollWidth 読み取り専用プロパティは、オーバーフローのために画面に表示されないコンテンツを含む、要素のコンテンツの幅の測定です。

MDN リファレンス

scrollWidth: number

プロパティ値

number

継承 HTMLElement.scrollWidth

shadowRoot

Element.shadowRoot読み取り専用プロパティは、要素によってホストされるシャドウ ルートを表します。

MDN リファレンス

shadowRoot: ShadowRoot | null

プロパティ値

ShadowRoot | null

HTMLElement.shadowRoot から継承された

slot

Element インターフェイスの slot プロパティは、要素が挿入されるシャドウ DOM スロットの名前を返します。

MDN リファレンス

slot: string

プロパティ値

string

htmlElement.slot から継承

spellcheck

HTMLElement インターフェイスの spellcheck プロパティは、スペル チェック ヒントを制御するブール値を表します。

MDN リファレンス

spellcheck: boolean

プロパティ値

boolean

継承 HTMLElement.spellcheck

tabIndex

MDN リファレンス

tabIndex: number

プロパティ値

number

HTMLElement.tabIndex から継承された

tagName

要素インターフェイスの tagName 読み取り専用プロパティは、呼び出された要素のタグ名を返します。

MDN リファレンス

tagName: string

プロパティ値

string

htmlElement.tagName から継承

TEXT_NODE

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

TEXT_NODE: 3

プロパティ値

3

HTMLElement.TEXT_NODE から継承された

title

HTMLElement.titleプロパティは、要素のタイトルを表します。通常、マウスがノードの上にあるとき、"ツールヒント" ポップアップに表示されるテキストです。

MDN リファレンス

title: string

プロパティ値

string

HTMLElement.title から継承された

translate

HTMLElement インターフェイスの translate プロパティは、ページがローカライズされるときに、要素の属性値とその Text ノードの子の値を変換するかどうか、または変更せずに残すかどうかを示します。

MDN リファレンス

translate: boolean

プロパティ値

boolean

継承元 HTMLElement.translate

writingSuggestions

HTMLElement インターフェイスの writingSuggestions プロパティは、ブラウザーが提供する書き込み候補を要素のスコープで有効にするかどうかを示す文字列です。

MDN リファレンス

writingSuggestions: string

プロパティ値

string

Inherited From HTMLElement.writingSuggestions

メソッドの詳細

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()

HTMLIFrameElement インターフェイスの getSVGDocument() メソッドは、埋め込まれた SVG の Document オブジェクトを返します。

MDN リファレンス

function getSVGDocument(): Document | null

返品

Document | null

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 をスローします。

MDN リファレンス

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

パラメーター

nodes

(string | Node)[]

HTMLElement.after から継承された

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

MDN リファレンス

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 をスローします。

MDN リファレンス

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

パラメーター

nodes

(string | Node)[]

HTMLElement.append から継承

appendChild<T>(T)

Node インターフェイスの appendChild() メソッドは、指定した親ノードの子の一覧の末尾にノードを追加します。

MDN リファレンス

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

パラメーター

node

T

返品

T

継承された HTMLElement.appendChild

attachInternals()

HTMLElement.attachInternals() メソッドは ElementInternals オブジェクトを返します。

MDN リファレンス

function attachInternals(): ElementInternals

返品

ElementInternals

継承された HTMLElement.attachInternals

attachShadow(ShadowRootInit)

Element.attachShadow() メソッドは、シャドウ DOM ツリーを指定された要素にアタッチし、その ShadowRoot への参照を返します。

MDN リファレンス

function attachShadow(init: ShadowRootInit): ShadowRoot

パラメーター

init

ShadowRootInit

返品

ShadowRoot

HTMLElement.attachShadow から継承された

before((string | Node)[])

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

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

MDN リファレンス

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

パラメーター

nodes

(string | Node)[]

HTMLElement.before から継承された

blur()

MDN リファレンス

function blur()

HTMLElement.blur から継承された

checkVisibility(CheckVisibilityOptions)

要素インターフェイスの checkVisibility() メソッドは、要素が表示されているかどうかを確認します。

MDN リファレンス

function checkVisibility(options?: CheckVisibilityOptions): boolean

パラメーター

options

CheckVisibilityOptions

返品

boolean

Inherited From HTMLElement.checkVisibility

click()

HTMLElement.click()メソッドは、要素のマウス クリックをシミュレートします。

MDN リファレンス

function click()

継承 HTMLElement.click

cloneNode(boolean)

Node インターフェイスの cloneNode() メソッドは、このメソッドが呼び出されたノードの複製を返します。

MDN リファレンス

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)

Element インターフェイスの closest() メソッドは、指定された CSS セレクターに一致するノードが見つかるまで、要素とその親 (ドキュメント ルートに向かって向かう) を走査します。

MDN リファレンス

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() メソッドは、呼び出されたノードを基準にして、引数ノードの位置を報告します。

MDN リファレンス

function compareDocumentPosition(other: Node): number

パラメーター

other

Node

返品

number

htmlElement.compareDocumentPosition から継承

computedStyleMap()

要素インターフェイスの computedStyleMap() メソッドは、CSSStyleDeclaration の代わりに CSS 宣言ブロックの読み取り専用表現を提供する StylePropertyMapReadOnly インターフェイスを返します。

MDN リファレンス

function computedStyleMap(): StylePropertyMapReadOnly

返品

StylePropertyMapReadOnly

Inherited From HTMLElement.computedStyleMap

contains(Node | null)

Node インターフェイスの contains() メソッドは、ノードが特定のノードの子孫であるかどうか、つまりノード自体、その直接の子 (Node.childNodes)、子の直接の子の 1 つであるかどうかを示すブール値を返します。

MDN リファレンス

function contains(other: Node | null): boolean

パラメーター

other

Node | null

返品

boolean

HTMLElement.contains から継承された

dispatchEvent(Event)

EventTarget の dispatchEvent() メソッドは、イベントをオブジェクトに送信し、(同期的に) 影響を受けるイベント リスナーを適切な順序で呼び出します。

MDN リファレンス

function dispatchEvent(event: Event): boolean

パラメーター

event

Event

返品

boolean

継承された HTMLElement.dispatchEvent

focus(FocusOptions)

MDN リファレンス

function focus(options?: FocusOptions)

パラメーター

options

FocusOptions

HTMLElement.focus から継承された

getAnimations(GetAnimationsOptions)

MDN リファレンス

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

パラメーター

options

GetAnimationsOptions

返品

Animation[]

HTMLElement.getAnimations から継承された

getAttribute(string)

要素の getAttribute() メソッド。

MDN リファレンス

function getAttribute(qualifiedName: string): string | null

パラメーター

qualifiedName

string

返品

string | null

HTMLElement.getAttribute から継承された

getAttributeNames()

配列の getAttributeNames() メソッド。

MDN リファレンス

function getAttributeNames(): string[]

返品

string[]

HTMLElement.getAttributeNames から継承された

getAttributeNode(string)

指定した要素の指定した属性を Attr ノードとして返します。

MDN リファレンス

function getAttributeNode(qualifiedName: string): Attr | null

パラメーター

qualifiedName

string

返品

Attr | null

htmlElement.getAttributeNode から継承

getAttributeNodeNS(string | null, string)

Element インターフェイスの getAttributeNodeNS() メソッドは、要素の名前空間付き Attr ノードを返します。

MDN リファレンス

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

パラメーター

namespace

string | null

localName

string

返品

Attr | null

継承された HTMLElement.getAttributeNodeNS

getAttributeNS(string | null, string)

Element インターフェイスの getAttributeNS() メソッドは、指定した名前空間と名前を持つ属性の文字列値を返します。

MDN リファレンス

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

パラメーター

namespace

string | null

localName

string

返品

string | null

HTMLElement.getAttributeNS から継承された

getBoundingClientRect()

Element.getBoundingClientRect() メソッドは、ビューポートを基準とした位置を返します。

MDN リファレンス

function getBoundingClientRect(): DOMRect

返品

DOMRect

HTMLElement.getBoundingClientRect から継承された

getClientRects()

Element インターフェイスの getClientRects() メソッドは、クライアントの各 CSS 境界線ボックスの外接する四角形を示す DOMRect オブジェクトのコレクションを返します。

MDN リファレンス

function getClientRects(): DOMRectList

返品

DOMRectList

HTMLElement.getClientRects から継承された

getElementsByClassName(string)

Element メソッド getElementsByClassName() は、ライブで指定されたクラス名を返します。

MDN リファレンス

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()メソッドは、指定した要素のすべての子孫が検索されますが、要素自体は検索されません。

MDN リファレンス

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 を返します。

MDN リファレンス

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)

Element インターフェイスの getHTML() メソッドは、要素の DOM を HTML 文字列にシリアル化するために使用されます。

MDN リファレンス

function getHTML(options?: GetHTMLOptions): string

パラメーター

options

GetHTMLOptions

返品

string

Inherited From HTMLElement.getHTML

getRootNode(GetRootNodeOptions)

Node インターフェイスの getRootNode() メソッドは、コンテキスト オブジェクトのルートを返します。このルートには、シャドウ ルート (使用可能な場合) が必要に応じて含まれます。

MDN リファレンス

function getRootNode(options?: GetRootNodeOptions): Node

パラメーター

options

GetRootNodeOptions

返品

Node

htmlElement.getRootNode から継承

hasAttribute(string)

Element.hasAttribute() メソッドは、指定した要素に指定した属性があるかどうかを示すブール値を返します。

MDN リファレンス

function hasAttribute(qualifiedName: string): boolean

パラメーター

qualifiedName

string

返品

boolean

htmlElement.hasAttribute から継承

hasAttributeNS(string | null, string)

要素インターフェイスの hasAttributeNS() メソッドは、現在の要素が指定した名前空間を持つ指定した属性を持っているかどうかを示すブール値を返します。

MDN リファレンス

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

パラメーター

namespace

string | null

localName

string

返品

boolean

HTMLElement.hasAttributeNS から継承された

hasAttributes()

要素インターフェイスの hasAttributes() メソッドは、現在の要素に属性があるかどうかを示すブール値を返します。

MDN リファレンス

function hasAttributes(): boolean

返品

boolean

HTMLElement.hasAttributes から継承された

hasChildNodes()

Node インターフェイスの hasChildNodes() メソッドは、指定されたノードに子ノードがあるかどうかを示すブール値を返します。

MDN リファレンス

function hasChildNodes(): boolean

返品

boolean

HTMLElement.hasChildNodes から継承された

hasPointerCapture(number)

指定されたポインター ID によって識別されるポインターのポインター キャプチャの hasPointerCapture() メソッド。

MDN リファレンス

function hasPointerCapture(pointerId: number): boolean

パラメーター

pointerId

number

返品

boolean

継承元 HTMLElement.hasPointerCapture

hidePopover()

HTMLElement インターフェイスの hidePopover() メソッドは、トップ レイヤーからポップオーバー要素 (つまり、有効な popover 属性を持つ要素) を非表示にし、 display: noneでスタイルを設定します。

MDN リファレンス

function hidePopover()

Inherited From HTMLElement.hidePopover

insertAdjacentElement(InsertPosition, Element)

呼び出される要素に対する相対メソッドの insertAdjacentElement() メソッド。

MDN リファレンス

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

パラメーター

where

InsertPosition

element

Element

返品

Element | null

htmlElement.insertAdjacentElement 継承された

insertAdjacentHTML(InsertPosition, string)

指定した位置にある DOM ツリーに生成されるノードの insertAdjacentHTML() メソッド。

MDN リファレンス

function insertAdjacentHTML(position: InsertPosition, string: string)

パラメーター

position

InsertPosition

string

string

継承された HTMLElement.insertAdjacentHTML

insertAdjacentText(InsertPosition, string)

Element インターフェイスの insertAdjacentText() メソッドは、相対位置と文字列を指定すると、呼び出された要素を基準にして、指定された位置に新しいテキスト ノードを挿入します。

MDN リファレンス

function insertAdjacentText(where: InsertPosition, data: string)

パラメーター

where

InsertPosition

data

string

HTMLElement.insertAdjacentText から継承された

insertBefore<T>(T, Node | null)

Node インターフェイスの insertBefore() メソッドは、指定された親ノードの子として 、参照ノード の前にノードを挿入 します。

MDN リファレンス

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

パラメーター

node

T

child

Node | null

返品

T

継承された HTMLElement.insertBefore

isDefaultNamespace(string | null)

Node インターフェイスの isDefaultNamespace() メソッドは、名前空間 URI を引数として受け入れます。

MDN リファレンス

function isDefaultNamespace(namespace: string | null): boolean

パラメーター

namespace

string | null

返品

boolean

継承された HTMLElement.isDefaultNamespace

isEqualNode(Node | null)

Node インターフェイスの isEqualNode() メソッドは、2 つのノードが等しいかどうかをテストします。

MDN リファレンス

function isEqualNode(otherNode: Node | null): boolean

パラメーター

otherNode

Node | null

返品

boolean

htmlElement.isEqualNode から継承

isSameNode(Node | null)

Node インターフェイスの isSameNode() メソッドは、厳密な等値演算子 === レガシ エイリアスです。

MDN リファレンス

function isSameNode(otherNode: Node | null): boolean

パラメーター

otherNode

Node | null

返品

boolean

HTMLElement.isSameNode から継承された

lookupNamespaceURI(string | null)

Node インターフェイスの lookupNamespaceURI() メソッドは、プレフィックスをパラメーターとして受け取り、特定のノードで関連付けられている名前空間 URI を返します (見つからない場合は null )。

MDN リファレンス

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

パラメーター

prefix

string | null

返品

string | null

継承された HTMLElement.lookupNamespaceURI

lookupPrefix(string | null)

Node インターフェイスの lookupPrefix() メソッドは、特定の名前空間 URI のプレフィックスを含む文字列を返します (存在する場合)。存在しない場合は null 。

MDN リファレンス

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

パラメーター

namespace

string | null

返品

string | null

htmlElement.lookupPrefix から継承

matches(string)

Element インターフェイスの matches() メソッドは、指定された CSS セレクターによって要素が選択されるかどうかをテストします。

MDN リファレンス

function matches(selectors: string): boolean

パラメーター

selectors

string

返品

boolean

htmlElement.matches から継承

normalize()

Node インターフェイスの normalize() メソッドは、指定されたノードとそのすべてのサブツリーを 正規化された 形式に配置します。

MDN リファレンス

function normalize()

HTMLElement.normalize から継承された

prepend((string | Node)[])

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

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

MDN リファレンス

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)

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

MDN リファレンス

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)

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

MDN リファレンス

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)

特定の (PointerEvent) ポインターに対して以前に設定したreleasePointerCapture() メソッド。

MDN リファレンス

function releasePointerCapture(pointerId: number)

パラメーター

pointerId

number

継承元 HTMLElement.releasePointerCapture

remove()

ノードを削除します。

MDN リファレンス

function remove()

HTMLElement.remove から継承

removeAttribute(string)

Element メソッド removeAttribute() 、指定した名前の属性を要素から削除します。

MDN リファレンス

function removeAttribute(qualifiedName: string)

パラメーター

qualifiedName

string

HTMLElement.removeAttribute から継承された

removeAttributeNode(Attr)

Element インターフェイスの removeAttributeNode() メソッドは、指定した Attr ノードを要素から削除します。

MDN リファレンス

function removeAttributeNode(attr: Attr): Attr

パラメーター

attr

Attr

返品

Attr

htmlElement.removeAttributeNode から継承

removeAttributeNS(string | null, string)

HTML を使用していて、要求された属性を特定の名前空間の一部として指定する必要がない場合は、代わりに Element.removeAttribute() メソッドを使用します。 removeAttributeNS()

MDN リファレンス

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

パラメーター

namespace

string | null

localName

string

HTMLElement.removeAttributeNS から継承された

removeChild<T>(T)

Node インターフェイスの removeChild() メソッドは、DOM から子ノードを削除し、削除されたノードを返します。

MDN リファレンス

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

パラメーター

child

T

返品

T

HTMLElement.removeChild から継承された

replaceChild<T>(Node, T)

Node インターフェイスの replaceChild() メソッドは、指定された (親) ノード内の子ノードを置き換えます。

MDN リファレンス

function replaceChild<T>(node: Node, child: T): T

パラメーター

node

Node

child

T

返品

T

継承元 HTMLElement.replaceChild

replaceChildren((string | Node)[])

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

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

MDN リファレンス

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

パラメーター

nodes

(string | Node)[]

HTMLElement.replaceChildren から継承された

replaceWith((string | Node)[])

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

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

MDN リファレンス

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

パラメーター

nodes

(string | Node)[]

継承元 HTMLElement.replaceWith

requestFullscreen(FullscreenOptions)

Element.requestFullscreen() メソッドは、要素を全画面表示モードで表示するための非同期要求を発行します。

MDN リファレンス

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

パラメーター

options

FullscreenOptions

返品

Promise<void>

から継承 HTMLElement.requestFullscreen

requestPointerLock(PointerLockOptions)

Element インターフェイスの requestPointerLock() メソッドを使用すると、指定された要素でポインターをロックするように非同期的に要求できます。

MDN リファレンス

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)

Element インターフェイスの scroll() メソッドは、要素を特定の要素内の特定の座標セットまでスクロールします。

MDN リファレンス

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)

Element インターフェイスの scrollBy() メソッドは、指定された量で要素をスクロールします。

MDN リファレンス

function scrollBy(options?: ScrollToOptions)

パラメーター

options

ScrollToOptions

継承 HTMLElement.scrollBy

scrollIntoView(boolean | ScrollIntoViewOptions)

Element インターフェイスの scrollIntoView() メソッドは、 scrollIntoView() が呼び出された要素がユーザーに表示されるように、要素の先祖コンテナーをスクロールします。

MDN リファレンス

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)

Element インターフェイスの scrollTo() メソッドは、特定の要素内の特定の座標セットまでスクロールします。

MDN リファレンス

function scrollTo(options?: ScrollToOptions)

パラメーター

options

ScrollToOptions

継承 HTMLElement.scrollTo

setAttribute(string, string)

Element インターフェイスの setAttribute() メソッドは、指定した要素の属性の値を設定します。

MDN リファレンス

function setAttribute(qualifiedName: string, value: string)

パラメーター

qualifiedName

string

value

string

htmlElement.setAttribute から継承

setAttributeNode(Attr)

Element インターフェイスの setAttributeNode() メソッドは、指定した要素に新しい Attr ノードを追加します。

MDN リファレンス

function setAttributeNode(attr: Attr): Attr | null

パラメーター

attr

Attr

返品

Attr | null

継承された HTMLElement.setAttributeNode

setAttributeNodeNS(Attr)

Element インターフェイスの setAttributeNodeNS() メソッドは、新しい名前空間の Attr ノードを要素に追加します。

MDN リファレンス

function setAttributeNodeNS(attr: Attr): Attr | null

パラメーター

attr

Attr

返品

Attr | null

htmlElement.setAttributeNodeNS から継承

setAttributeNS(string | null, string, string)

setAttributeNS は、新しい属性を追加するか、指定された名前空間と名前を持つ属性の値を変更します。

MDN リファレンス

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

パラメーター

namespace

string | null

qualifiedName

string

value

string

HTMLElement.setAttributeNS から継承された

setHTMLUnsafe(string)

Element インターフェイスの setHTMLUnsafe() メソッドは、HTML の文字列を DocumentFragment に解析するために使用され、必要に応じて不要な要素と属性、およびコンテキストに属していない要素と属性をフィルター処理し、それを使用して DOM 内の要素のサブツリーを置き換えます。

MDN リファレンス

function setHTMLUnsafe(html: string)

パラメーター

html

string

Inherited From HTMLElement.setHTMLUnsafe

setPointerCapture(number)

将来のポインター イベントのキャプチャ ターゲットのsetPointerCapture()メソッド。

MDN リファレンス

function setPointerCapture(pointerId: number)

パラメーター

pointerId

number

HTMLElement.setPointerCapture から継承された

showPopover()

HTMLElement インターフェイスの showPopover() メソッドは、Popover_API要素 (つまり、有効な popover 属性を持つ要素) を最上位レイヤーに追加することによって表示します。

MDN リファレンス

function showPopover()

Inherited From HTMLElement.showPopover

toggleAttribute(string, boolean)

present の toggleAttribute() メソッドであり、存在しない場合はそれを追加します)、指定された要素に対して追加します。

MDN リファレンス

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

パラメーター

qualifiedName

string

force

boolean

返品

boolean

継承 HTMLElement.toggleAttribute

togglePopover(boolean)

HTMLElement インターフェイスの togglePopover() メソッドは、非表示状態と表示状態の間で、Popover_API要素 (有効な popover 属性を持つ要素) を切り替えます。

MDN リファレンス

function togglePopover(options?: boolean): boolean

パラメーター

options

boolean

返品

boolean

Inherited From HTMLElement.togglePopover

webkitMatchesSelector(string)

警告

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

This is a legacy alias of matches.

MDN Reference

function webkitMatchesSelector(selectors: string): boolean

パラメーター

selectors

string

返品

boolean

htmlElement.webkitMatchesSelector から継承