API Reference > frontend-devtools > Effects > refreshViewportsForEffect refreshViewportsForEffect Function Beta Requests that any viewport to which the specified effect has been applied redraw its contents. Used by tools like VignetteConfig to update the view after the effect parameters are modified. refreshViewportsForEffect(effectName: string): void Parameter Type Description effectName string Returns - void Defined in frontend-devtools/src/effects/EffectTools.ts Line 73 Last Updated: 11 June, 2024