setEffects
Applies platform-specific window effects such as Mica, Acrylic, Blur or the macOS vibrancy materials.
Requires the window to be transparent, so create it with transparent: true (or set transparent in tauri.conf.json). Give the page a transparent or translucent background as well, otherwise the effect is hidden behind your own background color.
Conflicting effects are resolved by applying the first supported one and ignoring the rest, so you can list a Windows and a macOS effect together.
Platform-specific
Windows: If the window uses decorations or shadows, you may need this workaround.
Linux: Unsupported.
Since
2.0.0
Parameters
effects
The effects to apply, see {@link Effects}.