Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

329 B
Raw Blame
export const startAdvancedFocusEntrance = (
  portalTarget: HTMLElement,
  host: HTMLElement,
  surface: HTMLElement,
  readyClass: string,
) => {
  host.append(portalTarget);
  surface.classList.remove(readyClass);

  return requestAnimationFrame(() => {
    if (surface.isConnected) surface.classList.add(readyClass);
  });
};