requestUserAttention
fun requestUserAttention(requestType: UserAttentionType?): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)
Requests user attention to the window, this has no effect if the application is already focused. How requesting for user attention manifests is platform dependent, see UserAttentionType for details.
Providing null will unset the request for user attention. Unsetting the request for user attention might not be done automatically by the WM when the window receives input.
Platform-specific
macOS:
nullhas no effect.Linux: Urgency levels have the same effect.