Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

262 B
Raw Blame
import { DATA_APP_READY_MESSAGE_TYPE } from "../../constants";

export function reportReadyToParent() {
  if (window.parent === window) {
    return;
  }

  window.parent.postMessage(
    { type: DATA_APP_READY_MESSAGE_TYPE },
    window.location.origin,
  );
}