ShadowRoot

Overview

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.

Location

Properties


host

 

property host: Element read;

 

Element host { get; }

 

var host: Element { get{} }

 

Element host { __get; }

 

ReadOnly Property host() As Element

mode

 

property mode: dynamic read;

 

dynamic mode { get; }

 

var mode: dynamic { get{} }

 

dynamic mode { __get; }

 

ReadOnly Property mode() As dynamic

Required Methods


elementFromPoint

Returns the topmost element at the specified coordinates.

 

method elementFromPoint(parx: dynamic; pary: dynamic)

 

void elementFromPoint(dynamic parx, dynamic pary)

 

func elementFromPoint(_ parx: dynamic, _ pary: dynamic)

 

void elementFromPoint(dynamic parx, dynamic pary)

 

Sub elementFromPoint(parx As dynamic, pary As dynamic)

Parameters:

  • parx:
  • pary: