From ded10f48a8923bc878940775c0ab75fc9a184f8d Mon Sep 17 00:00:00 2001 From: Muhlis <8949037+muhlisatac@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:56:21 +0300 Subject: [PATCH] Update Buttons.md Add busy-text usage to abp-button tag helper. Add busy-text usage to abp-button tag helper. --- docs/en/UI/AspNetCore/Tag-Helpers/Buttons.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/en/UI/AspNetCore/Tag-Helpers/Buttons.md b/docs/en/UI/AspNetCore/Tag-Helpers/Buttons.md index ae62c7f2b7..65e3ee2cf8 100644 --- a/docs/en/UI/AspNetCore/Tag-Helpers/Buttons.md +++ b/docs/en/UI/AspNetCore/Tag-Helpers/Buttons.md @@ -56,6 +56,18 @@ A value indicates the size of the button. Should be one of the following values: A text that is shown when the button is busy. +To be able to make the button busy: + +````xml +$('#btnTest').buttonBusy(true); +```` + +To make it usable again: + +````xml +$('#btnTest').buttonBusy(false); +```` + ### text The text of the button. This is a shortcut if you simply want to set a text to the button. Example: @@ -83,4 +95,4 @@ If you don't want to use font-awesome, you have two options: ### disabled -Set `true` to make the button initially disabled. \ No newline at end of file +Set `true` to make the button initially disabled.