The set of DOM APIs for traversing and manipulating the DOM.
Below, you will notice PlayUI's radical new approach to the DOM that offers a pair of synchronous and asynchronous methods for operations that affect the browser's Layout. The asynchronous methods employ a technique that prevents Layout Thrashing to keep the UI at maximum performance. These asynchronous methods are what you want! The synchronous versions would, however, need to go with the
Reflow DOM abstraction utility to achieve the same level of performance.
Modules in this set can be imported individually or collectively.
// Import all modulesimport * as DOM from '@web-native-js/play-ui/src/dom/index.js';let select = DOM.select;// Import a moduleimport select from '@web-native-js/play-ui/src/dom/select.js';