From 5d6e2d76adcaa8f40069206dc0284745218b54f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:46:04 +0300 Subject: [PATCH] Fixed #15236 - Button | Add tabindex for p-button --- src/app/components/button/button.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/components/button/button.ts b/src/app/components/button/button.ts index 77bf3e51f62..4e95dcce8d3 100755 --- a/src/app/components/button/button.ts +++ b/src/app/components/button/button.ts @@ -443,10 +443,14 @@ export class Button implements AfterContentInit { */ @Input({ transform: booleanAttribute }) outlined: boolean = false; /** - * Add a link style to the button. + * Add a link style to the button. * @group Props */ @Input({ transform: booleanAttribute }) link: boolean = false; + /** + * Add a tabindex to the button. + * @group Props + */ @Input({ transform: numberAttribute }) tabindex: number | undefined; /** * Defines the size of the button.