[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-content/themes/twentynineteen/js/ -> priority-menu.js (summary)

(no description)

File Size: 216 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions


Functions that are not part of a class:

debounce(func, wait, immediate)   X-Ref

param: {Function} func
param: {number} wait
param: {boolean} immediate

prependElement(container, element)   X-Ref
Prepends an element to a container.

param: {Element} container
param: {Element} element

showButton(element)   X-Ref
Shows an element by adding a hidden className.

param: {Element} element

hideButton(element)   X-Ref
Hides an element by removing the hidden className.

param: {Element} element

getAvailableSpace( button, container )   X-Ref
Returns the currently available space in the menu container.

returns: {number} Available space

isOverflowingNavivation( list, button, container )   X-Ref
Returns whether the current menu is overflowing or not.

returns: {boolean} Is overflowing

updateNavigationMenu( container )   X-Ref
Refreshes the list item from the menu depending on the menu size.

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1