node_modules/@iconify/iconify/dist/iconify.js
/**
   * Start observer when DOM is ready
   */
Start observer when DOM is ready
Start observer when DOM is ready
function initObserver(cb) {
      const isRestart = callback !== null;
      if (callback !== cb) {
          callback = cb;
          if (isRestart) {
              listRootNodes().forEach(stopObserver);
          }
      }
      if (isRestart) {
          startObservers();
          return;
      }
      onReady(startObservers);
  }
function initObserver ( cb ) { const isRestart = callback !== null ; if ( callback !== cb ) { callback = cb ; if ( isRestart ) { listRootNodes ( ) . forEach ( stopObserver ) ; } } if ( isRestart ) { startObservers ( ) ; return ; } onReady ( startObservers ) ; }
Start observer when DOM is ready
Start observer when DOM is ready
// Change callback and stop all pending observers // Restart instances // Start observers when document is ready