"use strict";

exports.__esModule = true;
exports["default"] = dispatchResizeEvent;
var lastDelayId;
function dispatchResizeEvent() {
  clearTimeout(lastDelayId);
  lastDelayId = window.setTimeout(function () {
    if (window.dispatchEvent) {
      window.dispatchEvent(new Event('resize'));
    }
  }, 10);
}