Window.defaultElement

Object defaultElement

Description

For windows of type dialog, the UI element to notify when the user presses a Enter key.

By default, looks for a button whose name or text is “ok” (case disregarded).