Skip to content

Commit

Permalink
useToggle jsdocs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Sep 19, 2023
1 parent ee7a7f5 commit 0789af6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _dev/js/theme/components/display/useToggleDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const useToggleDisplay = () => {

/**
* Show element
* @param element <HTMLElement> Element to show
* @param element {HTMLElement} Element to show
* @returns {void}
*/
const show = (element) => {
Expand All @@ -13,7 +13,7 @@ const useToggleDisplay = () => {

/**
* Hide element
* @param element <HTMLElement> Element to hide
* @param element {HTMLElement} Element to hide
* @returns {void}
*/
const hide = (element) => {
Expand All @@ -23,8 +23,8 @@ const useToggleDisplay = () => {

/**
* Toggle element
* @param element <HTMLElement> Element to toggle
* @param display <bool> Display or hide
* @param element {HTMLElement} Element to toggle
* @param display {boolean} Display or hide
* @returns {void}
*/
const toggle = (element, display) => {
Expand Down

0 comments on commit 0789af6

Please sign in to comment.