From ceaf1699d8b3fc6edfdabd6933df704d0f0020e0 Mon Sep 17 00:00:00 2001 From: Laura Weatherhead Date: Tue, 20 Oct 2020 16:59:00 +0100 Subject: [PATCH] Update umb-button directive parameter usage to reflect accurate implementation --- .../components/buttons/umbbutton.directive.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js index a236e7f5ac..dd6fa5c5c8 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js @@ -61,15 +61,15 @@ Use this directive to render an umbraco button. The directive can be used to gen @param {string=} state Set a progress state on the button ("init", "busy", "success", "error"). @param {string=} shortcut Set a keyboard shortcut for the button ("ctrl+c"). @param {string=} label Set the button label. -@param {string=} labelKey Set a localization key to make a multi lingual button ("general_buttonText"). +@param {string=} labelKey Set a localization key to make a multi-lingual button ("general_buttonText"). @param {string=} icon Set a button icon. -@param {string=} size Set a button icon ("xs", "m", "l", "xl"). +@param {string=} size Set a button size ("xs", "m", "l", "xl"). @param {boolean=} disabled Set to true to disable the button. -@param {string=} addEllipsis Adds an ellipsis character (…) to the button label which means the button will open a dialog or prompt the user for more information. -@param {string=} showCaret Shows a caret on the right side of the button label -@param {string=} autoFocus add autoFocus to the button -@param {string=} hasPopup Used to expose to the accessibility API whether the button will trigger a popup or not -@param {string=]} isExpanded Used to add an aria-expanded attribute and expose whether the button has expanded a popup or not +@param {boolean=} addEllipsis Adds an ellipsis character (…) to the button label which means the button will open a dialog or prompt the user for more information. +@param {boolean=} showCaret Shows a caret on the right side of the button label +@param {boolean=} autoFocus add autoFocus to the button +@param {boolean=} hasPopup Used to expose to the accessibility API whether the button will trigger a popup or not +@param {boolean=} isExpanded Used to add an aria-expanded attribute and expose whether the button controls collapsible content **/