dispatchResizeEvent(delayOrFromElement?: number | HTMLElement): void
In some cases, the complete layout can be changed and calculations are based on containers width.
Imagine: Google Fonts get added and the navigation bar has a button with a calculated width (e.g. BeTheme).
Another example: The instagram feed is not loaded / adjusted (masonry), so we need to trigger a resize
event manually
Parameters
Default value delayOrFromElement: number | HTMLElement = 0
In some cases, the complete layout can be changed and calculations are based on containers width. Imagine: Google Fonts get added and the navigation bar has a button with a calculated width (e.g. BeTheme). Another example: The instagram feed is not loaded / adjusted (masonry), so we need to trigger a resize event manually