From 06df8eaa5419f97eca9d6a0cd383ca305319b547 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 19 Nov 2024 11:37:22 +0100 Subject: [PATCH] allow tooltip for disabled button through input --- src/button/icon-button.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/button/icon-button.component.ts b/src/button/icon-button.component.ts index b7c8894c1b..1661b36b4a 100644 --- a/src/button/icon-button.component.ts +++ b/src/button/icon-button.component.ts @@ -27,7 +27,7 @@ import { ButtonSize, ButtonType } from "./button.types"; ; + /** + * Indicates whether the tooltip should be shown when the button is disabled + */ + @Input() showTooltipWhenDisabled = false; /** * Common button events