IPowerBiElement interface
- Extends
-
HTMLElement
Vlastnosti
| class |
Je |
| part |
|
| power |
|
| style | |
| text |
Zděděné vlastnosti
| access |
Vlastnost |
| access |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| assigned |
|
| attributes | Vlastnost |
| attribute |
|
| ATTRIBUTE_NODE | |
| autocapitalize | Vlastnost |
| autocorrect | Vlastnost |
| autofocus | |
| baseURI | Vlastnost Jen pro čtení |
| CDATA_SECTION_NODE | node je uzel CDATASection. |
| child |
|
| child |
Vlastnost jen |
| children | Vrátí podřízené prvky. |
| class |
Vlastnost |
| client |
Vlastnost |
| client |
|
| client |
|
| client |
Vlastnost |
| COMMENT_NODE | node je uzel Komentáře. |
| content |
|
| current |
|
| dataset | |
| dir | Vlastnost |
| DOCUMENT_FRAGMENT_NODE | node je uzel DocumentFragment. |
| DOCUMENT_NODE | node je dokument. |
| DOCUMENT_POSITION_CONTAINED_BY | Nastavte, pokud je další potomkem uzlu. |
| DOCUMENT_POSITION_CONTAINS | Nastavte, když je ostatní nadřazeným uzlem. |
| DOCUMENT_POSITION_DISCONNECTED | Nastavte, kdy uzel a jiné nejsou ve stejném stromu. |
| DOCUMENT_POSITION_FOLLOWING | Nastavte, pokud se jedná o jiný uzel. |
| DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | |
| DOCUMENT_POSITION_PRECEDING | Nastavte, kdy se jiný uzel nachází před uzlem. |
| DOCUMENT_TYPE_NODE | node je typ doctype. |
| draggable | Vlastnost |
| ELEMENT_NODE | node je prvek. |
| enter |
|
| ENTITY_NODE | |
| ENTITY_REFERENCE_NODE | |
| first |
Vlastnost jen pro čtení |
| first |
Vrátí první podřízenou položku, která je prvkem, a v opačném případě null. |
| hidden | HTMLElement vlastnost |
| id |
|
| inert | HTMLElement vlastnost |
| innerHTML | Vlastnost |
| inner |
Vlastnost |
| input |
|
| is |
Vlastnost Node rozhraní jen |
| is |
|
| lang | Vlastnost |
| last |
Vlastnost jen |
| last |
Vrátí poslední podřízenou položku, která je prvkem, a v opačném případě hodnotu null. |
| local |
Vlastnost |
| namespaceURI |
|
| next |
Vrátí první následující stejné hodnoty, které jsou elementem, a v opačném případě null. |
| next |
Vlastnost Jen pro čtení |
| node |
Vlastnost Node jen |
| node |
Vlastnost jen |
| node |
|
| nonce | |
| NOTATION_NODE | |
| offset |
|
| offset |
|
| offset |
|
| offset |
Vlastnost |
| offset |
Vlastnost |
| onabort | |
| onanimationcancel | |
| onanimationend | |
| onanimationiteration | |
| onanimationstart | |
| onauxclick | |
| onbeforeinput | |
| onbeforematch | |
| onbeforetoggle | |
| onblur | |
| oncancel | |
| oncanplay | |
| oncanplaythrough | |
| onchange | |
| onclick | |
| onclose | |
| oncontextlost | |
| oncontextmenu | |
| oncontextrestored | |
| oncopy | |
| oncuechange | |
| oncut | |
| ondblclick | |
| ondrag | |
| ondragend | |
| ondragenter | |
| ondragleave | |
| ondragover | |
| ondragstart | |
| ondrop | |
| ondurationchange | |
| onemptied | |
| onended | |
| onerror | |
| onfocus | |
| onformdata | |
| onfullscreenchange | |
| onfullscreenerror | |
| ongotpointercapture | |
| oninput | |
| oninvalid | |
| onkeydown | |
| onkeypress | |
| onkeyup | |
| onload | |
| onloadeddata | |
| onloadedmetadata | |
| onloadstart | |
| onlostpointercapture | |
| onmousedown | |
| onmouseenter | |
| onmouseleave | |
| onmousemove | |
| onmouseout | |
| onmouseover | |
| onmouseup | |
| onpaste | |
| onpause | |
| onplay | |
| onplaying | |
| onpointercancel | |
| onpointerdown | |
| onpointerenter | |
| onpointerleave | |
| onpointermove | |
| onpointerout | |
| onpointerover | |
| onpointerrawupdate | K dispozici pouze v zabezpečených kontextech. |
| onpointerup | |
| onprogress | |
| onratechange | |
| onreset | |
| onresize | |
| onscroll | |
| onscrollend | |
| onsecuritypolicyviolation | |
| onseeked | |
| onseeking | |
| onselect | |
| onselectionchange | |
| onselectstart | |
| onslotchange | |
| onstalled | |
| onsubmit | |
| onsuspend | |
| ontimeupdate | |
| ontoggle | |
| ontouchcancel | |
| ontouchend | |
| ontouchmove | |
| ontouchstart | |
| ontransitioncancel | |
| ontransitionend | |
| ontransitionrun | |
| ontransitionstart | |
| onvolumechange | |
| onwaiting | |
| onwebkitanimationend | |
| onwebkitanimationiteration | |
| onwebkitanimationstart | |
| onwebkittransitionend | |
| onwheel | |
| outerHTML | Atribut |
| outer |
Vlastnost |
| owner |
Vlastnost jen |
| parent |
Vlastnost Node interface jen |
| parent |
Vlastnost jen |
| popover | Vlastnost |
| prefix |
|
| previous |
Vrátí první předchozí stejné číslo, který je elementem, a v opačném případě null. |
| previous |
Vlastnost jen pro čtení |
| PROCESSING_INSTRUCTION_NODE | node je uzel ProcessingInstruction. |
| role | |
| scroll |
|
| scroll |
Vlastnost |
| scroll |
Vlastnost |
| scroll |
Vlastnost |
| shadow |
|
| slot | Vlastnost |
| spellcheck | Vlastnost |
| tab |
|
| tag |
|
| TEXT_NODE | node je textový uzel. |
| title | Vlastnost |
| translate | Vlastnost |
| writing |
Vlastnost |
Zděděné metody
| add |
|
| add |
|
| after((string | Node)[]) | Vloží uzly těsně za uzlem a současně nahradí řetězce v uzlech ekvivalentními textovými uzly. Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů. |
| animate(Keyframe[] | Property |
|
| append((string | Node)[]) | Vloží uzly za poslední podřízený uzel a současně nahradí řetězce v uzlech ekvivalentními textovými uzly. Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů. |
| append |
|
| attach |
Metoda |
| attach |
Metoda |
| before((string | Node)[]) | Vloží uzly těsně před uzlem a současně nahradí řetězce v uzlech ekvivalentními textovými uzly. Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů. |
| blur() | |
| check |
Metoda |
| click() | Metoda |
| clone |
|
| closest<E>(string) | |
| closest<K>(K) | Metoda |
| closest<K>(K) | |
| closest<K>(K) | |
| compare |
|
| computed |
Metoda |
| contains(Node | null) | Metoda |
| dispatch |
|
| focus(Focus |
|
| get |
|
| get |
Metoda |
| get |
Metoda |
| get |
Vrátí zadaný atribut zadaného prvku jako uzel Attr. |
| get |
Metoda |
| get |
Metoda |
| get |
Metoda |
| get |
Metoda |
| get |
Metoda |
| get |
|
| get |
Metoda |
| get |
|
| get |
|
| get |
|
| get |
|
| get |
Metoda |
| get |
|
| get |
|
| getHTML(Get |
Metoda |
| get |
|
| has |
Metoda |
| has |
Metoda |
| has |
Metoda |
| has |
Metoda |
| has |
Metoda |
| hide |
|
| insert |
Metoda |
| insert |
Metoda |
| insert |
Metoda |
| insert |
|
| is |
Metoda |
| is |
Metoda |
| is |
|
| lookup |
Metoda |
| lookup |
Metoda |
| matches(string) | Metoda |
| normalize() | Metoda |
| prepend((string | Node)[]) | Vloží uzly před první podřízenou část uzlu a současně nahradí řetězce v uzlech ekvivalentními textovými uzly. Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů. |
| query |
|
| query |
Vrátí první prvek, který je potomkem uzlu, který odpovídá selektorům. |
| query |
|
| query |
|
| query |
|
| query |
|
| query |
Vrátí všechny potomky elementů uzlu, které odpovídají selektorům. |
| query |
|
| query |
|
| query |
|
| release |
Metoda |
| remove() | Odebere uzel. |
| remove |
Metoda Element |
| remove |
Metoda |
| remove |
Metoda |
| remove |
|
| remove |
|
| remove |
|
| replace |
|
| replace |
Nahraďte všechny podřízené položky uzlu uzly a nahraďte řetězce v uzlech ekvivalentními textovými uzly. Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů. |
| replace |
Nahradí uzel uzly a současně nahradí řetězce v uzlech ekvivalentními textovými uzly. Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů. |
| request |
Metoda |
| request |
Metoda |
| scroll(number, number) | |
| scroll(Scroll |
Metoda |
| scroll |
|
| scroll |
Metoda |
| scroll |
Metoda rozhraní |
| scroll |
|
| scroll |
Metoda |
| set |
Metoda |
| set |
|
| set |
Metoda |
| set |
|
| set |
Metoda |
| set |
Metoda |
| show |
|
| toggle |
Metoda |
| toggle |
Metoda |
| webkit |
Podrobnosti vlastnosti
classList
Je Element.classList jen pro čtení vlastnost, která vrací živou DOMTokenList kolekci class atributů elementu.
DOMTokenList classList
Hodnota vlastnosti
DOMTokenList
part
part Vlastnost rozhraní Element představuje identifikátory částí elementu (tj. set pomocí atributupart), které jsou vráceny jako DOMTokenList.
DOMTokenList part
Hodnota vlastnosti
DOMTokenList
powerBiEmbed
powerBiEmbed: Embed
Hodnota vlastnosti
Embed
style
textContent
Podrobnosti zděděných vlastností
accessKey
Vlastnost HTMLElement.accessKey nastaví stisknutí klávesy, kterou uživatel může stisknout, aby přeskočí na daný prvek.
accessKey: string
Hodnota vlastnosti
string
zděděno z HTMLElement.accessKey
accessKeyLabel
HTMLElement.accessKeyLabel Vlastnost jen pro čtení vrátí řetězec obsahující přístupový klíč přiřazený prohlížečem elementu (pokud existuje). V opačném případě vrátí prázdný řetězec.
accessKeyLabel: string
Hodnota vlastnosti
string
zděděno z HTMLElement.accessKeyLabel
ariaActiveDescendantElement
ariaActiveDescendantElement: Element | null
Hodnota vlastnosti
Element | null
Zděděno z HTMLElement.ariaActiveDescendantElement
ariaAtomic
ariaAtomic: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaAtomic
ariaAutoComplete
ariaAutoComplete: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaAutoComplete
ariaBrailleLabel
ariaBrailleLabel: string | null
Hodnota vlastnosti
string | null
Zděděno z HTMLElement.ariaBrailleLabel
ariaBrailleRoleDescription
ariaBrailleRoleDescription: string | null
Hodnota vlastnosti
string | null
Zděděno z HTMLElement.ariaBrailleRoleDescription
ariaBusy
ariaBusy: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaBusy
ariaChecked
ariaChecked: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaChecked
ariaColCount
ariaColCount: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaColCount
ariaColIndex
ariaColIndex: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaColIndex
ariaColIndexText
ariaColIndexText: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaColIndexText
ariaColSpan
ariaColSpan: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaColSpan
ariaControlsElements
ariaControlsElements: (readonly Element[]) | null
Hodnota vlastnosti
(readonly Element[]) | null
Zděděno z HTMLElement.ariaControlsElements
ariaCurrent
ariaCurrent: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaCurrent
ariaDescribedByElements
ariaDescribedByElements: (readonly Element[]) | null
Hodnota vlastnosti
(readonly Element[]) | null
Zděděno z HTMLElement.ariaDescribedByElements
ariaDescription
ariaDescription: string | null
Hodnota vlastnosti
string | null
Zděděno z HTMLElement.ariaDescription
ariaDetailsElements
ariaDetailsElements: (readonly Element[]) | null
Hodnota vlastnosti
(readonly Element[]) | null
Zděděno z HTMLElement.ariaDetailsElements
ariaDisabled
ariaDisabled: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaDisabled
ariaErrorMessageElements
ariaErrorMessageElements: (readonly Element[]) | null
Hodnota vlastnosti
(readonly Element[]) | null
Zděděno z HTMLElement.ariaErrorMessageElements
ariaExpanded
ariaExpanded: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaExpanded
ariaFlowToElements
ariaFlowToElements: (readonly Element[]) | null
Hodnota vlastnosti
(readonly Element[]) | null
Zděděno z HTMLElement.ariaFlowToElements
ariaHasPopup
ariaHasPopup: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaHasPopup
ariaHidden
ariaHidden: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaHidden
ariaInvalid
ariaInvalid: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaInvalid
ariaKeyShortcuts
ariaKeyShortcuts: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaKeyShortcuts
ariaLabel
ariaLabel: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaLabel
ariaLabelledByElements
ariaLabelledByElements: (readonly Element[]) | null
Hodnota vlastnosti
(readonly Element[]) | null
Zděděno z HTMLElement.ariaLabelledByElements
ariaLevel
ariaLevel: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaLevel
ariaLive
ariaLive: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaLive
ariaModal
ariaModal: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaModal
ariaMultiLine
ariaMultiLine: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaMultiLine
ariaMultiSelectable
ariaMultiSelectable: string | null
Hodnota vlastnosti
string | null
zděděné z HTMLElement.ariaMultiSelectable
ariaOrientation
ariaOrientation: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaOrientation
ariaOwnsElements
ariaOwnsElements: (readonly Element[]) | null
Hodnota vlastnosti
(readonly Element[]) | null
Zděděno z HTMLElement.ariaOwnsElements
ariaPlaceholder
ariaPlaceholder: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaPlaceholder
ariaPosInSet
ariaPosInSet: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaPosInSet
ariaPressed
ariaPressed: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaPressed
ariaReadOnly
ariaReadOnly: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaReadOnly
ariaRelevant
ariaRelevant: string | null
Hodnota vlastnosti
string | null
Zděděno z HTMLElement.ariaRelevant
ariaRequired
ariaRequired: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaRequired
ariaRoleDescription
ariaRoleDescription: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaRoleDescription
ariaRowCount
ariaRowCount: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaRowCount
ariaRowIndex
ariaRowIndex: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaRowIndex
ariaRowIndexText
ariaRowIndexText: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaRowIndexText
ariaRowSpan
ariaRowSpan: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaRowSpan
ariaSelected
ariaSelected: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaSelected
ariaSetSize
ariaSetSize: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaSetSize
ariaSort
ariaSort: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaSort
ariaValueMax
ariaValueMax: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaValueMax
ariaValueMin
ariaValueMin: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaValueMin
ariaValueNow
ariaValueNow: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaValueNow
ariaValueText
ariaValueText: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.ariaValueText
assignedSlot
assignedSlot: HTMLSlotElement | null
Hodnota vlastnosti
HTMLSlotElement | null
zděděno z HTMLElement.assignedSlot
attributes
Vlastnost Element.attributes vrátí živou kolekci všech uzlů atributů registrovaných na zadaný uzel.
attributes: NamedNodeMap
Hodnota vlastnosti
NamedNodeMap
zděděno z HTMLElement.attributes
attributeStyleMap
attributeStyleMap: StylePropertyMap
Hodnota vlastnosti
StylePropertyMap
Zděděno z HTMLElement.attributeStyleMap
ATTRIBUTE_NODE
ATTRIBUTE_NODE: 2
Hodnota vlastnosti
2
zděděno ze HTMLElement.ATTRIBUTE_NODE
autocapitalize
Vlastnost autocapitalize HTMLElement rozhraní představuje chování elementu velká písmena pro uživatelský vstup.
autocapitalize: string
Hodnota vlastnosti
string
zděděno z HTMLElement.autocapitalize
autocorrect
Vlastnost autocorrect rozhraní HTMLElement určuje, zda je povolena automatická opravy upravitelného textu pro pravopis a/nebo interpunkční znaménky.
autocorrect: boolean
Hodnota vlastnosti
boolean
Zděděno z HtmlElement.autocorrect
autofocus
autofocus: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.autofocus
baseURI
Vlastnost Jen pro čtení baseURI rozhraní Node vrátí absolutní základní adresu URL dokumentu obsahujícího uzel.
baseURI: string
Hodnota vlastnosti
string
zděděno z HTMLElement.baseURI
CDATA_SECTION_NODE
node je uzel CDATASection.
CDATA_SECTION_NODE: 4
Hodnota vlastnosti
4
zděděné z HTMLElement.CDATA_SECTION_NODE
childElementCount
childElementCount: number
Hodnota vlastnosti
number
zděděno z HTMLElement.childElementCount
childNodes
Vlastnost jen childNodes pro čtení rozhraní Node vrátí živý podřízený uzel je přiřazen index 0.
childNodes: NodeListOf<ChildNode>
Hodnota vlastnosti
NodeListOf<ChildNode>
zděděno z HTMLElement.childNodes
children
Vrátí podřízené prvky.
children: HTMLCollection
Hodnota vlastnosti
HTMLCollection
zděděno z HTMLElement.children
className
Vlastnost className zadaného prvku.
className: string
Hodnota vlastnosti
string
zděděno z HTMLElement.className
clientHeight
Vlastnost clientHeight elementu jen pro čtení je nulová pro prvky bez šablon stylů CSS nebo vložených polí rozložení. V opačném případě se jedná o vnitřní výšku elementu v pixelech.
clientHeight: number
Hodnota vlastnosti
number
zděděno z HTMLElement.clientHeight
clientLeft
clientLeft Vlastnost elementu jen pro čtení vrátí šířku levého okraje prvku v pixelech.
clientLeft: number
Hodnota vlastnosti
number
zděděno z HTMLElement.clientLeft
clientTop
clientTop Vlastnost elementu jen pro čtení vrátí šířku horního okraje prvku v pixelech.
clientTop: number
Hodnota vlastnosti
number
zděděno z HTMLElement.clientTop
clientWidth
Vlastnost clientWidth elementu jen pro čtení je nula pro vložené elementy a prvky bez šablon stylů CSS. V opačném případě se jedná o vnitřní šířku prvku v pixelech.
clientWidth: number
Hodnota vlastnosti
number
zděděno z HTMLElement.clientWidth
COMMENT_NODE
node je uzel Komentáře.
COMMENT_NODE: 8
Hodnota vlastnosti
8
zděděno ze HTMLElement.COMMENT_NODE
contentEditable
contentEditable: string
Hodnota vlastnosti
string
zděděno z HTMLElement.contentEditable
currentCSSZoom
currentCSSZoom Vlastnost elementu jen pro čtení poskytuje "efektivní" šablony stylů CSS zoom elementu, přičemž přihlédnou k přiblížení použitému prvku a všem jeho nadřazeným prvkům.
currentCSSZoom: number
Hodnota vlastnosti
number
Zděděno z HTMLElement.currentCSSZoom
dataset
dataset: DOMStringMap
Hodnota vlastnosti
DOMStringMap
zděděno z HTMLElement.dataset
dir
Vlastnost HTMLElement.dir označuje směrovost textu obsahu aktuálního prvku.
dir: string
Hodnota vlastnosti
string
zděděno z HTMLElement.dir
DOCUMENT_FRAGMENT_NODE
node je uzel DocumentFragment.
DOCUMENT_FRAGMENT_NODE: 11
Hodnota vlastnosti
11
zděděno z HTMLElement.DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE
node je dokument.
DOCUMENT_NODE: 9
Hodnota vlastnosti
9
zděděno z HTMLElement.DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY
Nastavte, pokud je další potomkem uzlu.
DOCUMENT_POSITION_CONTAINED_BY: 16
Hodnota vlastnosti
16
zděděno z HTMLElement.DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS
Nastavte, když je ostatní nadřazeným uzlem.
DOCUMENT_POSITION_CONTAINS: 8
Hodnota vlastnosti
8
zděděno z HTMLElement.DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED
Nastavte, kdy uzel a jiné nejsou ve stejném stromu.
DOCUMENT_POSITION_DISCONNECTED: 1
Hodnota vlastnosti
1
zděděné z HTMLElement.DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING
Nastavte, pokud se jedná o jiný uzel.
DOCUMENT_POSITION_FOLLOWING: 4
Hodnota vlastnosti
4
zděděno z HTMLElement.DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
Hodnota vlastnosti
32
zděděno ze HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING
Nastavte, kdy se jiný uzel nachází před uzlem.
DOCUMENT_POSITION_PRECEDING: 2
Hodnota vlastnosti
2
zděděno ze HTMLElement.DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE
node je typ doctype.
DOCUMENT_TYPE_NODE: 10
Hodnota vlastnosti
10
zděděno z HTMLElement.DOCUMENT_TYPE_NODE
draggable
Vlastnost draggable HTMLElement rozhraní získá a nastaví boolean primitivní indikující, zda je prvek přetažen.
draggable: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.draggable
ELEMENT_NODE
node je prvek.
ELEMENT_NODE: 1
Hodnota vlastnosti
1
zděděno z HTMLElement.ELEMENT_NODE
enterKeyHint
enterKeyHint: string
Hodnota vlastnosti
string
zděděno z HTMLElement.enterKeyHint
ENTITY_NODE
ENTITY_NODE: 6
Hodnota vlastnosti
6
zděděno z HTMLElement.ENTITY_NODE
ENTITY_REFERENCE_NODE
ENTITY_REFERENCE_NODE: 5
Hodnota vlastnosti
5
zděděné z HTMLElement.ENTITY_REFERENCE_NODE
firstChild
Vlastnost jen pro čtení firstChild rozhraní Node vrátí první podřízenou položku uzlu ve stromu nebo null pokud uzel nemá žádné podřízené položky.
firstChild: ChildNode | null
Hodnota vlastnosti
ChildNode | null
zděděno z HTMLElement.firstChild
firstElementChild
Vrátí první podřízenou položku, která je prvkem, a v opačném případě null.
firstElementChild: Element | null
Hodnota vlastnosti
Element | null
zděděno z HTMLElement.firstElementChild
hidden
HTMLElement vlastnost hidden odráží hodnotu atributu elementu hidden .
hidden: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.hidden
id
id Vlastnost rozhraní Element představuje identifikátor elementu, který id odráží globální atribut.
id: string
Hodnota vlastnosti
string
zděděno ze HTMLElement.id
inert
HTMLElement vlastnost inert odráží hodnotu atributu elementu inert .
inert: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.inert
innerHTML
Vlastnost innerHTML element rozhraní získá nebo nastaví HTML nebo XML značky obsažené v elementu.
innerHTML: string
Hodnota vlastnosti
string
zděděno z HTMLElement.innerHTML
innerText
Vlastnost innerText HTMLElement rozhraní představuje vykreslený textový obsah uzlu a jeho potomků.
innerText: string
Hodnota vlastnosti
string
zděděno z HTMLElement.innerText
inputMode
inputMode: string
Hodnota vlastnosti
string
zděděno z HTMLElement.inputMode
isConnected
Vlastnost Node rozhraní jen isConnected pro čtení vrátí logickou hodnotu označující, zda je uzel připojený (přímo nebo nepřímo) k objektu Document.
isConnected: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.isConnected
isContentEditable
isContentEditable: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.isContentEditable
lang
Vlastnost lang HTMLElement rozhraní označuje základní jazyk hodnoty atributu elementu a textový obsah ve formě MISSING: RFC(5646, 'BCP 47 language identifier tag')].
lang: string
Hodnota vlastnosti
string
zděděno z HTMLElement.lang
lastChild
Vlastnost jen lastChild pro čtení rozhraní Node vrátí poslední podřízený uzel, nebo null pokud neexistují žádné podřízené uzly.
lastChild: ChildNode | null
Hodnota vlastnosti
ChildNode | null
zděděno z HTMLElement.lastChild
lastElementChild
Vrátí poslední podřízenou položku, která je prvkem, a v opačném případě hodnotu null.
lastElementChild: Element | null
Hodnota vlastnosti
Element | null
zděděno z HTMLElement.lastElementChild
localName
Vlastnost Element.localName jen pro čtení vrátí místní část kvalifikovaného názvu elementu.
localName: string
Hodnota vlastnosti
string
zděděno z HTMLElement.localName
namespaceURI
Element.namespaceURI Vlastnost jen pro čtení vrátí identifikátor URI oboru názvů elementu nebo null pokud prvek není v oboru názvů.
namespaceURI: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.namespaceURI
nextElementSibling
Vrátí první následující stejné hodnoty, které jsou elementem, a v opačném případě null.
nextElementSibling: Element | null
Hodnota vlastnosti
Element | null
zděděno z HTMLElement.nextElementSibling
nextSibling
Vlastnost Jen pro čtení nextSibling rozhraní Node vrátí uzel bezprostředně za zadaným uzlem v nadřazených uzlech Node.childNodes nebo vrátí null , pokud je zadaný uzel posledním podřízeným prvkem nadřazeného prvku.
nextSibling: ChildNode | null
Hodnota vlastnosti
ChildNode | null
zděděno z HTMLElement.nextSibling
nodeName
Vlastnost Node jen nodeName pro čtení vrátí název aktuálního uzlu jako řetězec.
nodeName: string
Hodnota vlastnosti
string
zděděno z HTMLElement.nodeName
nodeType
Vlastnost jen nodeType pro čtení rozhraní Node je celé číslo, které identifikuje, co je uzel.
nodeType: number
Hodnota vlastnosti
number
zděděno z HTMLElement.nodeType
nodeValue
nodeValue Vlastnost rozhraní Node vrátí nebo nastaví hodnotu aktuálního uzlu.
nodeValue: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.nodeValue
nonce
NOTATION_NODE
NOTATION_NODE: 12
Hodnota vlastnosti
12
zděděno ze HTMLElement.NOTATION_NODE
offsetHeight
offsetHeight Vlastnost HTMLElement pouze pro čtení vrátí výšku elementu, včetně svislého odsazení a ohraničení, jako celé číslo.
offsetHeight: number
Hodnota vlastnosti
number
zděděno z HTMLElement.offsetHeight
offsetLeft
offsetLeft Vlastnost htmlElement rozhraní jen pro čtení vrátí počet pixelů, které je v levém horním rohu aktuálního prvku posunut doleva uvnitř uzlu HTMLElement.offsetParent.
offsetLeft: number
Hodnota vlastnosti
number
zděděno z HTMLElement.offsetLeft
offsetParent
HTMLElement.offsetParent Vlastnost jen pro čtení vrátí odkaz na prvek, který je nejbližší (nejbližší v hierarchii zahrnutí) umístěný nadřazený prvek.
offsetParent: Element | null
Hodnota vlastnosti
Element | null
zděděno z HTMLElement.offsetParent
offsetTop
Vlastnost offsetTop jen pro čtení htmlElement rozhraní vrátí vzdálenost od vnějšího okraje aktuálního prvku (včetně jeho okraje) k hornímu odsazení okraje HTMLelement.offsetParent, nejbližší umístěný nadřazený prvek.
offsetTop: number
Hodnota vlastnosti
number
zděděno z HTMLElement.offsetTop
offsetWidth
Vlastnost offsetWidth htmlElement pouze pro čtení vrátí šířku rozložení prvku jako celé číslo.
offsetWidth: number
Hodnota vlastnosti
number
zděděno z HTMLElement.offsetWidth
onabort
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: UIEvent) => any | null
zděděno z HTMLElement.onabort
onanimationcancel
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
zděděno z HTMLElement.onanimationcancel
onanimationend
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
zděděno z HTMLElement.onanimationend
onanimationiteration
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
zděděno z HTMLElement.onanimationiteration
onanimationstart
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
zděděno z HTMLElement.onanimationstart
onauxclick
onauxclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onauxclick
onbeforeinput
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: InputEvent) => any | null
zděděno z HTMLElement.onbeforeinput
onbeforematch
onbeforematch: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
Zděděno z HTMLElement.onbeforematch
onbeforetoggle
onbeforetoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: ToggleEvent) => any | null
Zděděno z HTMLElement.onbeforetoggle
onblur
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: FocusEvent) => any | null
zděděno z HTMLElement.onblur
oncancel
oncancel: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.oncancel
oncanplay
oncanplay: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.oncanplay
oncanplaythrough
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.oncanplaythrough
onchange
onchange: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onchange
onclick
onclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onclick
onclose
onclose: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onclose
oncontextlost
oncontextlost: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
Zděděno z HTMLElement.oncontextlost
oncontextmenu
oncontextmenu: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.oncontextmenu
oncontextrestored
oncontextrestored: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
Zděděno z HTMLElement.oncontextrestored
oncopy
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
zděděno z HTMLElement.oncopy
oncuechange
oncuechange: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.oncuechange
oncut
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
zděděno z HTMLElement.oncut
ondblclick
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.ondblclick
ondrag
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: DragEvent) => any | null
zděděno z HTMLElement.ondrag
ondragend
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: DragEvent) => any | null
zděděno z HTMLElement.ondragend
ondragenter
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: DragEvent) => any | null
zděděno z HTMLElement.ondragenter
ondragleave
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: DragEvent) => any | null
zděděno z HTMLElement.ondragleave
ondragover
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: DragEvent) => any | null
zděděno z HTMLElement.ondragover
ondragstart
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: DragEvent) => any | null
zděděno z HTMLElement.ondragstart
ondrop
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: DragEvent) => any | null
zděděno z HTMLElement.ondrop
ondurationchange
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.ondurationchange
onemptied
onemptied: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onemptied
onended
onended: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onended
onerror
onerror: OnErrorEventHandler
Hodnota vlastnosti
OnErrorEventHandler
zděděno z HTMLElement.onerror
onfocus
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: FocusEvent) => any | null
zděděno z HTMLElement.onfocus
onformdata
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: FormDataEvent) => any | null
zděděno z HTMLElement.onformdata
onfullscreenchange
onfullscreenchange: (this: Element, ev: Event) => any | null
Hodnota vlastnosti
(this: Element, ev: Event) => any | null
zděděno z HTMLElement.onfullscreenchange
onfullscreenerror
onfullscreenerror: (this: Element, ev: Event) => any | null
Hodnota vlastnosti
(this: Element, ev: Event) => any | null
zděděno z HTMLElement.onfullscreenerror
ongotpointercapture
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.ongotpointercapture
oninput
oninput: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.oninput
oninvalid
oninvalid: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.oninvalid
onkeydown
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
zděděno z HTMLElement.onkeydown
onkeypress
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
zděděno z HTMLElement.onkeypress
onkeyup
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
zděděno z HTMLElement.onkeyup
onload
onload: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onload
onloadeddata
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onloadeddata
onloadedmetadata
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onloadedmetadata
onloadstart
onloadstart: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onloadstart
onlostpointercapture
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onlostpointercapture
onmousedown
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.onmousedown
onmouseenter
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.onmouseenter
onmouseleave
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.onmouseleave
onmousemove
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.onmousemove
onmouseout
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.onmouseout
onmouseover
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.onmouseover
onmouseup
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
zděděno z HTMLElement.onmouseup
onpaste
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
zděděno z HTMLElement.onpaste
onpause
onpause: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onpause
onplay
onplay: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onplay
onplaying
onplaying: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onplaying
onpointercancel
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointercancel
onpointerdown
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointerdown
onpointerenter
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointerenter
onpointerleave
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointerleave
onpointermove
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointermove
onpointerout
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointerout
onpointerover
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointerover
onpointerrawupdate
K dispozici pouze v zabezpečených kontextech.
onpointerrawupdate: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
Zděděno z HTMLElement.onpointerrawupdate
onpointerup
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
zděděno z HTMLElement.onpointerup
onprogress
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: ProgressEvent) => any | null
zděděno z HTMLElement.onprogress
onratechange
onratechange: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onratechange
onreset
onreset: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onreset
onresize
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: UIEvent) => any | null
zděděno z HTMLElement.onresize
onscroll
onscroll: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onscroll
onscrollend
onscrollend: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
Zděděno z HTMLElement.onscrollend
onsecuritypolicyviolation
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null
zděděno z HTMLElement.onsecuritypolicyviolation
onseeked
onseeked: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onseeked
onseeking
onseeking: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onseeking
onselect
onselect: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onselect
onselectionchange
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onselectionchange
onselectstart
onselectstart: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onselectstart
onslotchange
onslotchange: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onslotchange
onstalled
onstalled: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onstalled
onsubmit
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: SubmitEvent) => any | null
zděděno z HTMLElement.onsubmit
onsuspend
onsuspend: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onsuspend
ontimeupdate
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.ontimeupdate
ontoggle
ontoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: ToggleEvent) => any | null
zděděno z HTMLElement.ontoggle
ontouchcancel
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
zděděno z HTMLElement.ontouchcancel
ontouchend
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
zděděno z HTMLElement.ontouchend
ontouchmove
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
zděděno z HTMLElement.ontouchmove
ontouchstart
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
zděděno z HTMLElement.ontouchstart
ontransitioncancel
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
zděděno z HTMLElement.ontransitioncancel
ontransitionend
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
zděděno z HTMLElement.ontransitionend
ontransitionrun
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
zděděno z HTMLElement.ontransitionrun
ontransitionstart
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
zděděno z HTMLElement.ontransitionstart
onvolumechange
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onvolumechange
onwaiting
onwaiting: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onwaiting
onwebkitanimationend
Upozornění
Toto rozhraní API je teď zastaralé.
This is a legacy alias of onanimationend.
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onwebkitanimationend
onwebkitanimationiteration
Upozornění
Toto rozhraní API je teď zastaralé.
This is a legacy alias of onanimationiteration.
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onwebkitanimationiteration
onwebkitanimationstart
Upozornění
Toto rozhraní API je teď zastaralé.
This is a legacy alias of onanimationstart.
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onwebkitanimationstart
onwebkittransitionend
Upozornění
Toto rozhraní API je teď zastaralé.
This is a legacy alias of ontransitionend.
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: Event) => any | null
zděděno z HTMLElement.onwebkittransitionend
onwheel
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any | null
Hodnota vlastnosti
(this: GlobalEventHandlers, ev: WheelEvent) => any | null
zděděno z HTMLElement.onwheel
outerHTML
Atribut outerHTML rozhraní MODELU DOM elementu získá serializovaný fragment HTML popisující prvek včetně jeho potomků.
outerHTML: string
Hodnota vlastnosti
string
zděděno z HTMLElement.outerHTML
outerText
Vlastnost outerText HTMLElement rozhraní vrátí stejnou hodnotu jako HTMLElement.innerText.
outerText: string
Hodnota vlastnosti
string
zděděno z HTMLElement.outerText
ownerDocument
Vlastnost jen ownerDocument pro čtení rozhraní Node vrátí objekt dokumentu nejvyšší úrovně uzlu.
ownerDocument: Document
Hodnota vlastnosti
zděděno z HTMLElement.ownerDocument
parentElement
Vlastnost Node interface jen parentElement pro čtení vrátí nadřazený element uzlu MODELU DOM, nebo null pokud uzel buď nemá žádný nadřazený prvek, nebo jeho nadřazený prvek není element MODELU DOM.
parentElement: HTMLElement | null
Hodnota vlastnosti
HTMLElement | null
zděděno z HTMLElement.parentElement
parentNode
Vlastnost jen parentNode pro čtení rozhraní Node vrátí nadřazenou položku zadaného uzlu ve stromu MODELU DOM.
parentNode: ParentNode | null
Hodnota vlastnosti
ParentNode | null
zděděno z HTMLElement.parentNode
popover
Vlastnost popover HTMLElement rozhraní získá a nastaví stav překryvného prvku prostřednictvím JavaScriptu ('auto', 'hint'nebo 'manual') a lze jej použít k detekci funkcí.
popover: string | null
Hodnota vlastnosti
string | null
Zděděno z HTMLElement.popover
prefix
Element.prefix Vlastnost jen pro čtení vrátí předponu oboru názvů zadaného prvku, nebo null pokud není zadána žádná předpona.
prefix: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.prefix
previousElementSibling
Vrátí první předchozí stejné číslo, který je elementem, a v opačném případě null.
previousElementSibling: Element | null
Hodnota vlastnosti
Element | null
zděděno ze HTMLElement.previousElementSibling
previousSibling
Vlastnost jen pro čtení previousSibling rozhraní Node vrátí uzel bezprostředně před zadaným uzlem v nadřazené sadě nebo null pokud je zadaný uzel prvním v tomto seznamu.
previousSibling: ChildNode | null
Hodnota vlastnosti
ChildNode | null
zděděno z HTMLElement.previousSibling
PROCESSING_INSTRUCTION_NODE
node je uzel ProcessingInstruction.
PROCESSING_INSTRUCTION_NODE: 7
Hodnota vlastnosti
7
zděděno ze HTMLElement.PROCESSING_INSTRUCTION_NODE
role
role: string | null
Hodnota vlastnosti
string | null
zděděno z HTMLElement.role
scrollHeight
scrollHeight Vlastnost elementu jen pro čtení je měření výšky obsahu prvku, včetně obsahu, který není viditelný na obrazovce kvůli přetečení.
scrollHeight: number
Hodnota vlastnosti
number
zděděno z HTMLElement.scrollHeight
scrollLeft
Vlastnost scrollLeft rozhraní Element získá nebo nastaví počet pixelů, podle kterých se obsah prvku posune z levého okraje.
scrollLeft: number
Hodnota vlastnosti
number
zděděno z HTMLElement.scrollLeft
scrollTop
Vlastnost scrollTop rozhraní Element získá nebo nastaví počet pixelů, podle kterých je obsah prvku posunut od jeho horního okraje.
scrollTop: number
Hodnota vlastnosti
number
zděděno z HTMLElement.scrollTop
scrollWidth
Vlastnost scrollWidth elementu jen pro čtení je měření šířky obsahu prvku, včetně obsahu, který není viditelný na obrazovce kvůli přetečení.
scrollWidth: number
Hodnota vlastnosti
number
zděděno z HTMLElement.scrollWidth
shadowRoot
Element.shadowRoot Vlastnost jen pro čtení představuje stínový kořen hostovaný elementem.
shadowRoot: ShadowRoot | null
Hodnota vlastnosti
ShadowRoot | null
zděděno z HTMLElement.shadowRoot
slot
Vlastnost slot rozhraní Element vrátí název stínového DOM slotu, do které je prvek vložen.
slot: string
Hodnota vlastnosti
string
zděděno z HTMLElement.slot
spellcheck
Vlastnost spellcheck HTMLElement rozhraní představuje logickou hodnotu, která řídí nápovědu kontroly pravopisu.
spellcheck: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.spellcheck
tabIndex
tabIndex: number
Hodnota vlastnosti
number
zděděno z HTMLElement.tabIndex
tagName
tagName Vlastnost elementu jen pro čtení vrátí název značky prvku, na kterém je volána.
tagName: string
Hodnota vlastnosti
string
zděděno z HTMLElement.tagName
TEXT_NODE
node je textový uzel.
TEXT_NODE: 3
Hodnota vlastnosti
3
zděděno z HTMLElement.TEXT_NODE
title
Vlastnost HTMLElement.title představuje název prvku: text se obvykle zobrazí v automaticky otevíraných oknech, když je myš nad uzlem.
title: string
Hodnota vlastnosti
string
zděděno z HTMLElement.title
translate
Vlastnost translate HTMLElement rozhraní určuje, zda jsou hodnoty atributu elementu a hodnoty jeho text node podřízené mají být přeloženy při lokalizaci stránky, nebo zda je nechat beze změny.
translate: boolean
Hodnota vlastnosti
boolean
zděděno z HTMLElement.translate
writingSuggestions
Vlastnost writingSuggestions HTMLElement rozhraní je řetězec označující, zda návrhy pro psaní v prohlížeči by měly být povoleny v rámci rozsahu elementu nebo ne.
writingSuggestions: string
Hodnota vlastnosti
string
Zděděno z HTMLElement.writingSuggestions
Podrobnosti zděděných metod
addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)
function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
Parametry
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | AddEventListenerOptions
zděděno z HTMLElement.addEventListener
addEventListener<K>(K, (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, boolean | AddEventListenerOptions)
function addEventListener<K>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions)
Parametry
- type
-
K
- listener
-
(this: HTMLElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | AddEventListenerOptions
zděděno z HTMLElement.addEventListener
after((string | Node)[])
Vloží uzly těsně za uzlem a současně nahradí řetězce v uzlech ekvivalentními textovými uzly.
Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů.
function after(nodes: (string | Node)[])
Parametry
- nodes
-
(string | Node)[]
zděděno z HTMLElement.after
animate(Keyframe[] | PropertyIndexedKeyframes | null, number | KeyframeAnimationOptions)
function animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation
Parametry
- keyframes
-
Keyframe[] | PropertyIndexedKeyframes | null
- options
-
number | KeyframeAnimationOptions
Návraty
Animation
zděděno z HTMLElement.animate
append((string | Node)[])
Vloží uzly za poslední podřízený uzel a současně nahradí řetězce v uzlech ekvivalentními textovými uzly.
Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů.
function append(nodes: (string | Node)[])
Parametry
- nodes
-
(string | Node)[]
zděděno z HTMLElement.append
appendChild<T>(T)
appendChild() Metoda rozhraní Node přidá uzel na konec seznamu podřízených položek zadaného nadřazeného uzlu.
function appendChild<T>(node: T): T
Parametry
- node
-
T
Návraty
T
zděděno z HTMLElement.appendChild
attachInternals()
Metoda HTMLElement.attachInternals() vrátí ElementInternals objekt.
function attachInternals(): ElementInternals
Návraty
ElementInternals
zděděno z HTMLElement.attachInternals
attachShadow(ShadowRootInit)
Metoda Element.attachShadow() připojí stínový strom DOM k zadanému prvku a vrátí odkaz na jeho ShadowRoot.
function attachShadow(init: ShadowRootInit): ShadowRoot
Parametry
- init
-
ShadowRootInit
Návraty
ShadowRoot
zděděno z HTMLElement.attachShadow
before((string | Node)[])
Vloží uzly těsně před uzlem a současně nahradí řetězce v uzlech ekvivalentními textovými uzly.
Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů.
function before(nodes: (string | Node)[])
Parametry
- nodes
-
(string | Node)[]
zděděno z HTMLElement.before
blur()
checkVisibility(CheckVisibilityOptions)
Metoda checkVisibility() rozhraní Element zkontroluje, zda je prvek viditelný.
function checkVisibility(options?: CheckVisibilityOptions): boolean
Parametry
- options
-
CheckVisibilityOptions
Návraty
boolean
Zděděno z HTMLElement.checkVisibility
click()
Metoda HTMLElement.click() simuluje kliknutí myší na prvek.
function click()
zděděno z HTMLElement.click
cloneNode(boolean)
cloneNode() Metoda rozhraní Node vrátí duplikát uzlu, na kterém byla tato metoda volána.
function cloneNode(subtree?: boolean): Node
Parametry
- subtree
-
boolean
Návraty
Node
zděděno z HTMLElement.cloneNode
closest<E>(string)
function closest<E>(selectors: string): E | null
Parametry
- selectors
-
string
Návraty
E | null
zděděno z HTMLElement.closest
closest<K>(K)
Metoda closest() rozhraní Element prochází element a jeho nadřazené prvky (nadpis k kořenovému adresáři dokumentu), dokud nenajde uzel, který odpovídá zadanému selektoru CSS.
function closest<K>(selector: K): HTMLElementTagNameMap[K] | null
Parametry
- selector
-
K
Návraty
HTMLElementTagNameMap[K] | null
zděděno z HTMLElement.closest
closest<K>(K)
function closest<K>(selector: K): SVGElementTagNameMap[K] | null
Parametry
- selector
-
K
Návraty
SVGElementTagNameMap[K] | null
zděděno z HTMLElement.closest
closest<K>(K)
function closest<K>(selector: K): MathMLElementTagNameMap[K] | null
Parametry
- selector
-
K
Návraty
MathMLElementTagNameMap[K] | null
zděděno z HTMLElement.closest
compareDocumentPosition(Node)
compareDocumentPosition() Metoda rozhraní Node hlásí pozici uzlu argumentu vzhledem k uzlu, na kterém je volána.
function compareDocumentPosition(other: Node): number
Parametry
- other
-
Node
Návraty
number
zděděno z HTMLElement.compareDocumentPosition
computedStyleMap()
Metoda computedStyleMap() Element rozhraní vrátí StylePropertyMapReadOnly rozhraní, které poskytuje jen pro čtení reprezentaci bloku css deklarace, která je alternativou k CSSStyleDeclaration.
function computedStyleMap(): StylePropertyMapReadOnly
Návraty
StylePropertyMapReadOnly
Zděděno z HTMLElement.computedStyleMap
contains(Node | null)
Metoda contains() rozhraní Node vrátí logickou hodnotu označující, zda je uzel potomkem daného uzlu, což je samotný uzel, jeden z jeho přímých podřízených uzlů (Node.childNodes), jeden z přímých podřízených podřízených objektů a tak dále.
function contains(other: Node | null): boolean
Parametry
- other
-
Node | null
Návraty
boolean
zděděno z HTMLElement.contains
dispatchEvent(Event)
dispatchEvent() Metoda EventTarget odešle Událost objektu (synchronně) vyvolá ovlivněné naslouchací procesy událostí v příslušném pořadí.
function dispatchEvent(event: Event): boolean
Parametry
- event
-
Event
Návraty
boolean
zděděno z HTMLElement.dispatchEvent
focus(FocusOptions)
function focus(options?: FocusOptions)
Parametry
- options
-
FocusOptions
zděděno z HTMLElement.focus
getAnimations(GetAnimationsOptions)
function getAnimations(options?: GetAnimationsOptions): Animation[]
Parametry
- options
-
GetAnimationsOptions
Návraty
Animation[]
zděděno z HTMLElement.getAnimations
getAttribute(string)
Metoda getAttribute() elementu.
function getAttribute(qualifiedName: string): string | null
Parametry
- qualifiedName
-
string
Návraty
string | null
zděděno z HTMLElement.getAttribute
getAttributeNames()
Metoda getAttributeNames() pole.
function getAttributeNames(): string[]
Návraty
string[]
zděděno z HTMLElement.getAttributeNames
getAttributeNode(string)
Vrátí zadaný atribut zadaného prvku jako uzel Attr.
function getAttributeNode(qualifiedName: string): Attr | null
Parametry
- qualifiedName
-
string
Návraty
Attr | null
zděděno z HTMLElement.getAttributeNode
getAttributeNodeNS(string | null, string)
Metoda getAttributeNodeNS() rozhraní Element vrátí obor názvů Attr uzel elementu.
function getAttributeNodeNS(namespace: string | null, localName: string): Attr | null
Parametry
- namespace
-
string | null
- localName
-
string
Návraty
Attr | null
zděděno z HTMLElement.getAttributeNodeNS
getAttributeNS(string | null, string)
Metoda getAttributeNS() rozhraní Element vrátí řetězcovou hodnotu atributu se zadaným oborem názvů a názvem.
function getAttributeNS(namespace: string | null, localName: string): string | null
Parametry
- namespace
-
string | null
- localName
-
string
Návraty
string | null
zděděno z HTMLElement.getAttributeNS
getBoundingClientRect()
Metoda Element.getBoundingClientRect() vrátí pozici vzhledem k oblasti zobrazení.
function getBoundingClientRect(): DOMRect
Návraty
DOMRect
zděděno z HTMLElement.getBoundingClientRect
getClientRects()
Metoda getClientRects() rozhraní Element vrátí kolekci objektů DOMRect, které označují ohraničující obdélníky pro každé ohraničení css rámečku v klientovi.
function getClientRects(): DOMRectList
Návraty
DOMRectList
zděděno z HTMLElement.getClientRects
getElementsByClassName(string)
Metoda getElementsByClassName() Element vrátí živý zadaný název třídy nebo názvy.
function getElementsByClassName(classNames: string): HTMLCollectionOf<Element>
Parametry
- classNames
-
string
Návraty
HTMLCollectionOf<Element>
zděděno z HTMLElement.getElementsByClassName
getElementsByTagName(string)
function getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>
Parametry
- qualifiedName
-
string
Návraty
HTMLCollectionOf<Element>
zděděno z HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
Metoda Element.getElementsByTagName() vrátí živé Všechny potomky zadaného elementu jsou prohledány, ale ne samotný prvek.
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>
Parametry
- qualifiedName
-
K
Návraty
HTMLCollectionOf<HTMLElementTagNameMap[K]>
zděděno z HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>
Parametry
- qualifiedName
-
K
Návraty
HTMLCollectionOf<SVGElementTagNameMap[K]>
zděděno z HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>
Parametry
- qualifiedName
-
K
Návraty
HTMLCollectionOf<MathMLElementTagNameMap[K]>
zděděno z HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
Upozornění
Toto rozhraní API je teď zastaralé.
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
Parametry
- qualifiedName
-
K
Návraty
HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
zděděno z 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>
Parametry
- namespaceURI
-
"http://www.w3.org/1998/Math/MathML"
- localName
-
string
Návraty
HTMLCollectionOf<MathMLElement>
zděděno z HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)
Metoda Element.getElementsByTagNameNS() vrátí živý HTMLCollection elementů s daným názvem značky patřící do daného oboru názvů.
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>
Parametry
- namespaceURI
-
"http://www.w3.org/1999/xhtml"
- localName
-
string
Návraty
HTMLCollectionOf<HTMLElement>
zděděno z HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS("http://www.w3.org/2000/svg", string)
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>
Parametry
- namespaceURI
-
"http://www.w3.org/2000/svg"
- localName
-
string
Návraty
HTMLCollectionOf<SVGElement>
zděděno z HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS(string | null, string)
function getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>
Parametry
- namespace
-
string | null
- localName
-
string
Návraty
HTMLCollectionOf<Element>
zděděno z HTMLElement.getElementsByTagNameNS
getHTML(GetHTMLOptions)
Metoda getHTML() rozhraní Element se používá k serializaci modelu DOM elementu na řetězec HTML.
function getHTML(options?: GetHTMLOptions): string
Parametry
- options
-
GetHTMLOptions
Návraty
string
Zděděno z HTMLElement.getHTML
getRootNode(GetRootNodeOptions)
getRootNode() Metoda rozhraní Node vrátí kořen kontextového objektu, který volitelně obsahuje stínový kořen, pokud je k dispozici.
function getRootNode(options?: GetRootNodeOptions): Node
Parametry
- options
-
GetRootNodeOptions
Návraty
Node
zděděno z HTMLElement.getRootNode
hasAttribute(string)
Metoda Element.hasAttribute() vrátí logickou hodnotu určující, zda zadaný prvek má zadaný atribut, nebo ne.
function hasAttribute(qualifiedName: string): boolean
Parametry
- qualifiedName
-
string
Návraty
boolean
zděděno z HTMLElement.hasAttribute
hasAttributeNS(string | null, string)
Metoda hasAttributeNS() rozhraní Element vrátí logickou hodnotu určující, zda aktuální prvek má zadaný atribut se zadaným oborem názvů.
function hasAttributeNS(namespace: string | null, localName: string): boolean
Parametry
- namespace
-
string | null
- localName
-
string
Návraty
boolean
zděděno ze HTMLElement.hasAttributeNS
hasAttributes()
Metoda hasAttributes() rozhraní Element vrátí logickou hodnotu určující, zda aktuální prvek má nějaké atributy, nebo ne.
function hasAttributes(): boolean
Návraty
boolean
zděděné z HTMLElement.hasAttributes
hasChildNodes()
Metoda hasChildNodes() rozhraní Node vrátí logickou hodnotu označující, zda daný uzel má podřízené uzly, nebo ne.
function hasChildNodes(): boolean
Návraty
boolean
zděděno z HTMLElement.hasChildNodes
hasPointerCapture(number)
Metoda hasPointerCapture() zachycení ukazatele pro ukazatel identifikovaný daným ID ukazatele.
function hasPointerCapture(pointerId: number): boolean
Parametry
- pointerId
-
number
Návraty
boolean
zděděno z HTMLElement.hasPointerCapture
hidePopover()
hidePopover() Metoda HTMLElement rozhraní skryje popover element (tj. ten, který má platný popover atribut) odebráním z horní vrstvy a jeho styling s display: none.
function hidePopover()
Zděděno z HTMLElement.hidePopover
insertAdjacentElement(InsertPosition, Element)
Metoda insertAdjacentElement() relativní k prvku, který je vyvolána.
function insertAdjacentElement(where: InsertPosition, element: Element): Element | null
Parametry
- where
-
InsertPosition
- element
-
Element
Návraty
Element | null
zděděno z HTMLElement.insertAdjacentElement
insertAdjacentHTML(InsertPosition, string)
Metoda insertAdjacentHTML() výsledných uzlů do stromu DOM na zadané pozici.
function insertAdjacentHTML(position: InsertPosition, string: string)
Parametry
- position
-
InsertPosition
- string
-
string
zděděno z HTMLElement.insertAdjacentHTML
insertAdjacentText(InsertPosition, string)
Metoda insertAdjacentText() rozhraní Element, vzhledem k relativní pozici a řetězec, vloží nový textový uzel na danou pozici vzhledem k prvku, který je volán z.
function insertAdjacentText(where: InsertPosition, data: string)
Parametry
- where
-
InsertPosition
- data
-
string
zděděno z HTMLElement.insertAdjacentText
insertBefore<T>(T, Node | null)
insertBefore() Metoda rozhraní Node vloží uzel před referenční uzel jako podřízenou položku zadaného nadřazeného uzlu.
function insertBefore<T>(node: T, child: Node | null): T
Parametry
- node
-
T
- child
-
Node | null
Návraty
T
zděděno z HTMLElement.insertBefore
isDefaultNamespace(string | null)
Metoda isDefaultNamespace() rozhraní Node přijímá identifikátor URI oboru názvů jako argument.
function isDefaultNamespace(namespace: string | null): boolean
Parametry
- namespace
-
string | null
Návraty
boolean
zděděno z HTMLElement.isDefaultNamespace
isEqualNode(Node | null)
Metoda isEqualNode() rozhraní Node testuje, zda jsou dva uzly stejné.
function isEqualNode(otherNode: Node | null): boolean
Parametry
- otherNode
-
Node | null
Návraty
boolean
zděděno z HTMLElement.isEqualNode
isSameNode(Node | null)
isSameNode() Metoda rozhraní Node je starší alias operátoru === striktní rovnosti.
function isSameNode(otherNode: Node | null): boolean
Parametry
- otherNode
-
Node | null
Návraty
boolean
zděděno z HTMLElement.isSameNode
lookupNamespaceURI(string | null)
Metoda lookupNamespaceURI() rozhraní Node přebírá jako parametr předponu a vrátí identifikátor URI oboru názvů přidružený k uzlu v daném uzlu, pokud byl nalezen (a null pokud ne).
function lookupNamespaceURI(prefix: string | null): string | null
Parametry
- prefix
-
string | null
Návraty
string | null
zděděný z HTMLElement.lookupNamespaceURI
lookupPrefix(string | null)
Metoda lookupPrefix() rozhraní Node vrátí řetězec obsahující předponu pro daný identifikátor URI oboru názvů, pokud je k dispozici, a null pokud ne.
function lookupPrefix(namespace: string | null): string | null
Parametry
- namespace
-
string | null
Návraty
string | null
zděděno z HTMLElement.lookupPrefix
matches(string)
Metoda matches() rozhraní Element testuje, zda by byl prvek vybrán zadaným selektorem CSS.
function matches(selectors: string): boolean
Parametry
- selectors
-
string
Návraty
boolean
zděděno z HTMLElement.matches
normalize()
Metoda normalize() rozhraní Node umístí zadaný uzel a všechny jeho dílčí stromy do normalizovaného formuláře.
function normalize()
zděděno z HTMLElement.normalize
prepend((string | Node)[])
Vloží uzly před první podřízenou část uzlu a současně nahradí řetězce v uzlech ekvivalentními textovými uzly.
Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů.
function prepend(nodes: (string | Node)[])
Parametry
- nodes
-
(string | Node)[]
zděděno z HTMLElement.prepend
querySelector<E>(string)
function querySelector<E>(selectors: string): E | null
Parametry
- selectors
-
string
Návraty
E | null
zděděno z HTMLElement.querySelector
querySelector<K>(K)
Vrátí první prvek, který je potomkem uzlu, který odpovídá selektorům.
function querySelector<K>(selectors: K): HTMLElementTagNameMap[K] | null
Parametry
- selectors
-
K
Návraty
HTMLElementTagNameMap[K] | null
zděděno z HTMLElement.querySelector
querySelector<K>(K)
function querySelector<K>(selectors: K): SVGElementTagNameMap[K] | null
Parametry
- selectors
-
K
Návraty
SVGElementTagNameMap[K] | null
zděděno z HTMLElement.querySelector
querySelector<K>(K)
function querySelector<K>(selectors: K): MathMLElementTagNameMap[K] | null
Parametry
- selectors
-
K
Návraty
MathMLElementTagNameMap[K] | null
zděděno z HTMLElement.querySelector
querySelector<K>(K)
Upozornění
Toto rozhraní API je teď zastaralé.
function querySelector<K>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null
Parametry
- selectors
-
K
Návraty
HTMLElementDeprecatedTagNameMap[K] | null
zděděno z HTMLElement.querySelector
querySelectorAll<E>(string)
function querySelectorAll<E>(selectors: string): NodeListOf<E>
Parametry
- selectors
-
string
Návraty
NodeListOf<E>
zděděno z HTMLElement.querySelectorAll
querySelectorAll<K>(K)
Vrátí všechny potomky elementů uzlu, které odpovídají selektorům.
function querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>
Parametry
- selectors
-
K
Návraty
NodeListOf<HTMLElementTagNameMap[K]>
zděděno z HTMLElement.querySelectorAll
querySelectorAll<K>(K)
function querySelectorAll<K>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>
Parametry
- selectors
-
K
Návraty
NodeListOf<SVGElementTagNameMap[K]>
zděděno z HTMLElement.querySelectorAll
querySelectorAll<K>(K)
function querySelectorAll<K>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>
Parametry
- selectors
-
K
Návraty
NodeListOf<MathMLElementTagNameMap[K]>
zděděno z HTMLElement.querySelectorAll
querySelectorAll<K>(K)
Upozornění
Toto rozhraní API je teď zastaralé.
function querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
Parametry
- selectors
-
K
Návraty
NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
zděděno z HTMLElement.querySelectorAll
releasePointerCapture(number)
Metoda releasePointerCapture() dříve nastavené pro konkrétní ukazatel (PointerEvent).
function releasePointerCapture(pointerId: number)
Parametry
- pointerId
-
number
zděděno z HTMLElement.releasePointerCapture
remove()
removeAttribute(string)
Metoda Element removeAttribute() odebere atribut se zadaným názvem z elementu.
function removeAttribute(qualifiedName: string)
Parametry
- qualifiedName
-
string
zděděno z HTMLElement.removeAttribute
removeAttributeNode(Attr)
Metoda removeAttributeNode() rozhraní Element odebere zadaný uzel Attr z elementu.
function removeAttributeNode(attr: Attr): Attr
Parametry
- attr
-
Attr
Návraty
Attr
zděděno z HTMLElement.removeAttributeNode
removeAttributeNS(string | null, string)
Metoda removeAttributeNS() Pokud pracujete s HTML a nemusíte zadávat požadovaný atribut jako součást určitého oboru názvů, použijte místo toho metodu Element.removeAttribute().
function removeAttributeNS(namespace: string | null, localName: string)
Parametry
- namespace
-
string | null
- localName
-
string
zděděno z HTMLElement.removeAttributeNS
removeChild<T>(T)
removeChild() Metoda rozhraní Node odebere podřízený uzel z modelu DOM a vrátí odebraný uzel.
function removeChild<T>(child: T): T
Parametry
- child
-
T
Návraty
T
zděděno z HTMLElement.removeChild
removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)
function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
Parametry
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | EventListenerOptions
zděděno z HTMLElement.removeEventListener
removeEventListener<K>(K, (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, boolean | EventListenerOptions)
function removeEventListener<K>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions)
Parametry
- type
-
K
- listener
-
(this: HTMLElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | EventListenerOptions
zděděno z HTMLElement.removeEventListener
replaceChild<T>(Node, T)
replaceChild() Metoda rozhraní Node nahrazuje podřízený uzel v daném (nadřazené) uzlu.
function replaceChild<T>(node: Node, child: T): T
Parametry
- node
-
Node
- child
-
T
Návraty
T
zděděno z HTMLElement.replaceChild
replaceChildren((string | Node)[])
Nahraďte všechny podřízené položky uzlu uzly a nahraďte řetězce v uzlech ekvivalentními textovými uzly.
Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů.
function replaceChildren(nodes: (string | Node)[])
Parametry
- nodes
-
(string | Node)[]
zděděno z HTMLElement.replaceChildren
replaceWith((string | Node)[])
Nahradí uzel uzly a současně nahradí řetězce v uzlech ekvivalentními textovými uzly.
Vyvolá výjimku "HierarchyRequestError" DOMException, pokud jsou porušena omezení stromu uzlů.
function replaceWith(nodes: (string | Node)[])
Parametry
- nodes
-
(string | Node)[]
zděděno z HTMLElement.replaceWith
requestFullscreen(FullscreenOptions)
Metoda Element.requestFullscreen() vydává asynchronní požadavek, aby se prvek zobrazoval v režimu zobrazení na celé obrazovce.
function requestFullscreen(options?: FullscreenOptions): Promise<void>
Parametry
- options
-
FullscreenOptions
Návraty
Promise<void>
zděděný z htmlElement.requestFullscreen
requestPointerLock(PointerLockOptions)
Metoda requestPointerLock() rozhraní Element umožňuje asynchronně požádat o uzamčení ukazatele na daný prvek.
function requestPointerLock(options?: PointerLockOptions): Promise<void>
Parametry
- options
-
PointerLockOptions
Návraty
Promise<void>
zděděno z HTMLElement.requestPointerLock
scroll(number, number)
function scroll(x: number, y: number)
Parametry
- x
-
number
- y
-
number
zděděno z HTMLElement.scroll
scroll(ScrollToOptions)
Metoda scroll() rozhraní Element posune prvek na konkrétní sadu souřadnic uvnitř daného prvku.
function scroll(options?: ScrollToOptions)
Parametry
- options
-
ScrollToOptions
zděděno z HTMLElement.scroll
scrollBy(number, number)
function scrollBy(x: number, y: number)
Parametry
- x
-
number
- y
-
number
zděděno z HTMLElement.scrollBy
scrollBy(ScrollToOptions)
Metoda scrollBy() rozhraní Element posune prvek podle dané částky.
function scrollBy(options?: ScrollToOptions)
Parametry
- options
-
ScrollToOptions
zděděno z HTMLElement.scrollBy
scrollIntoView(boolean | ScrollIntoViewOptions)
Metoda rozhraní scrollIntoView() Element posouvá nadřazené kontejnery elementu tak, aby prvek, na kterém scrollIntoView() je volána, je viditelný pro uživatele.
function scrollIntoView(arg?: boolean | ScrollIntoViewOptions)
Parametry
- arg
-
boolean | ScrollIntoViewOptions
zděděno z HTMLElement.scrollIntoView
scrollTo(number, number)
function scrollTo(x: number, y: number)
Parametry
- x
-
number
- y
-
number
zděděno z HTMLElement.scrollTo
scrollTo(ScrollToOptions)
Metoda scrollTo() rozhraní Element se posune na určitou sadu souřadnic uvnitř daného prvku.
function scrollTo(options?: ScrollToOptions)
Parametry
- options
-
ScrollToOptions
zděděno z HTMLElement.scrollTo
setAttribute(string, string)
Metoda setAttribute() element rozhraní nastaví hodnotu atributu na zadaný prvek.
function setAttribute(qualifiedName: string, value: string)
Parametry
- qualifiedName
-
string
- value
-
string
zděděno z HTMLElement.setAttribute
setAttributeNode(Attr)
setAttributeNode() Metoda rozhraní Element přidá nový attr uzel do zadaného elementu.
function setAttributeNode(attr: Attr): Attr | null
Parametry
- attr
-
Attr
Návraty
Attr | null
zděděno z HTMLElement.setAttributeNode
setAttributeNodeNS(Attr)
Metoda setAttributeNodeNS() rozhraní Element přidá do elementu nový uzel Attr s oborem názvů.
function setAttributeNodeNS(attr: Attr): Attr | null
Parametry
- attr
-
Attr
Návraty
Attr | null
zděděno z HTMLElement.setAttributeNodeNS
setAttributeNS(string | null, string, string)
setAttributeNS přidá nový atribut nebo změní hodnotu atributu s daným oborem názvů a názvem.
function setAttributeNS(namespace: string | null, qualifiedName: string, value: string)
Parametry
- namespace
-
string | null
- qualifiedName
-
string
- value
-
string
zděděno z HTMLElement.setAttributeNS
setHTMLUnsafe(string)
Metoda setHTMLUnsafe() rozhraní Element se používá k analýze řetězce HTML do DocumentFragment, volitelně filtrování nežádoucích prvků a atributů, a těch, které nepatří do kontextu, a jeho následné použití k nahrazení substromu elementu v modelu DOM.
function setHTMLUnsafe(html: string)
Parametry
- html
-
string
Zděděno z HTMLElement.setHTMLUnsafe
setPointerCapture(number)
Metoda setPointerCapture()zachycení cíle budoucích ukazatelů událostí.
function setPointerCapture(pointerId: number)
Parametry
- pointerId
-
number
zděděno z HTMLElement.setPointerCapture
showPopover()
showPopover() Metoda HTMLElement rozhraní ukazuje Popover_API element (tj. ten, který má platný popover atribut) přidáním do horní vrstvy.
function showPopover()
Zděděno z HTMLElement.showPopover
toggleAttribute(string, boolean)
Metoda toggleAttribute() prezentace a jeho přidání, pokud není k dispozici) na daném prvku.
function toggleAttribute(qualifiedName: string, force?: boolean): boolean
Parametry
- qualifiedName
-
string
- force
-
boolean
Návraty
boolean
zděděno z HTMLElement.toggleAttribute
togglePopover(boolean)
Metoda togglePopover() HTMLElement rozhraní přepíná prvek Popover_API (tj. ten, který má platný popover atribut) mezi skrytými a zobrazenými stavy.
function togglePopover(options?: boolean): boolean
Parametry
- options
-
boolean
Návraty
boolean
Zděděno z HTMLElement.togglePopover
webkitMatchesSelector(string)
function webkitMatchesSelector(selectors: string): boolean
Parametry
- selectors
-
string
Návraty
boolean
zděděno z HTMLElement.webkitMatchesSelector