Skip to content

ConfirmationButton.setInitialFocus method

ConfirmationButton › setInitialFocus

Official

Mark this button as the focus target when the modal opens. If multiple buttons in the same modal have this set, the last-marked one wins.

Signature:

setInitialFocus(): this

Returns: this

Since: 1.13.0