setVibrancy

fun setVibrancy(type: BrowserWindowSetVibrancyType?, options: VibrancyOptions = definedExternally)(source)

Adds a vibrancy effect to the browser window. Passing null or an empty string will remove the vibrancy effect on the window. The animationDuration parameter only animates fading in or fading out the vibrancy effect. Animating between different types of vibrancy is not supported.