From 4ff6ea11ab1db78b683529e9bb8f4130d6d545dc Mon Sep 17 00:00:00 2001 From: Denis Forveille Date: Tue, 1 Feb 2022 14:14:42 -0500 Subject: [PATCH] Add missing "defaultFocus" attribute to ConfirmationOptions.d.ts fixes #2058 --- src/components/confirmationoptions/ConfirmationOptions.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/confirmationoptions/ConfirmationOptions.d.ts b/src/components/confirmationoptions/ConfirmationOptions.d.ts index a058ab135..307e47c2c 100644 --- a/src/components/confirmationoptions/ConfirmationOptions.d.ts +++ b/src/components/confirmationoptions/ConfirmationOptions.d.ts @@ -55,4 +55,8 @@ export interface ConfirmationOptions { * Style class of the reject button. */ rejectClass?: string | undefined; + /** + * Element to receive the focus when the dialog gets visible, valid values are "accept" and "reject". + */ + defaultFocus?: string | undefined; }