Skip to content

v2.8.0

Compare
Choose a tag to compare
@shrinathnayak07 shrinathnayak07 released this 15 May 11:52
· 9 commits to master since this release

What's Changed

Added utility method to get bv container elements from open shadow dom.

Methods

  1. shadowQuerySelectorAll - (node, matchSelector) - Returns Nodes matching with match selector.
  2. findShadowRoots - (node) - Returns a list of all the shadow roots found in the given root element and its descendants.
  3. filterShadowHosts - (node) - Returns NodeFilter.
  4. findElementsInShadowDomByMatchSector - (node, matchSelector) - Returns a NodeList of all elements within the shadow DOM of the shadowElement parameter that match the matchSelector parameter.