[ Index ]

PHP Cross Reference of WordPress




/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: Wed Oct 20 01:00:08 2021 Cross-referenced by PHPXref 0.7.1