Spec-Zone.ru › Haxe JavaScript

ShadowRoot

package js.html

extends DocumentFragment › Node › EventTarget

Доступно в js

The ShadowRoot interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree.

Documentation ShadowRoot by Mozilla Contributors, licensed under CC-BY-SA 2.5.

См. также:

  • https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot

Переменные

read onlyactiveElement:Element

read onlyfullscreenElement:Element

read onlyhost:Element

Возвращает ссылку на элемент DOM, к которому прикреплён ShadowRoot.

innerHTML:String

Устанавливает или возвращает ссылку на DOM-дерево внутри ShadowRoot.

read onlymode:ShadowRootMode

Режим ShadowRoot — open или closed. Определяет, доступны ли внутренние возможности тенированного корня из JavaScript.

read onlypointerLockElement:Element

read onlystyleSheets:StyleSheetList

Методы

elementFromPoint(x:Float, y:Float):Element

elementsFromPoint(x:Float, y:Float):Array<Element>

getElementsByClassName(classNames:String):HTMLCollection

getElementsByTagName(localName:String):HTMLCollection

getElementsByTagNameNS(namespace:String, localName:String):HTMLCollection

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ShadowRoot.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API