JSPM

  • Created
  • Published
  • Downloads 194843
  • Score
    100M100P100Q179190F
  • License MIT

DOM utilities for use within Fluent web components

Package Exports

  • @fluentui/dom-utilities
  • @fluentui/dom-utilities/lib-commonjs/index.js
  • @fluentui/dom-utilities/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fluentui/dom-utilities) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@fluentui/dom-utilities

DOM Utilities for use within Fluent UI React

This package contains extensions for traversing DOM within Fluent components, which should generally be used instead of the native equivalents. Fluent supports the concept of 'layers', which leverage React 'Portals' to project popups and other overlay content over other content. However, since this is not a native DOM concept, this library provides functionality to traverse the DOM in a way which reflects the hierarchy established by the projections.