From 0789af6c245a3bd2ab26104c3a3531e114570c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Wed, 20 Sep 2023 00:29:54 +0200 Subject: [PATCH] useToggle jsdocs fix --- _dev/js/theme/components/display/useToggleDisplay.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_dev/js/theme/components/display/useToggleDisplay.js b/_dev/js/theme/components/display/useToggleDisplay.js index d7e128c9..be754ad9 100644 --- a/_dev/js/theme/components/display/useToggleDisplay.js +++ b/_dev/js/theme/components/display/useToggleDisplay.js @@ -3,7 +3,7 @@ const useToggleDisplay = () => { /** * Show element - * @param element Element to show + * @param element {HTMLElement} Element to show * @returns {void} */ const show = (element) => { @@ -13,7 +13,7 @@ const useToggleDisplay = () => { /** * Hide element - * @param element Element to hide + * @param element {HTMLElement} Element to hide * @returns {void} */ const hide = (element) => { @@ -23,8 +23,8 @@ const useToggleDisplay = () => { /** * Toggle element - * @param element Element to toggle - * @param display Display or hide + * @param element {HTMLElement} Element to toggle + * @param display {boolean} Display or hide * @returns {void} */ const toggle = (element, display) => {