[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





/wp-content/themes/twentytwenty/assets/js/ -> customize-controls.js (summary)

Customizer enhancements for a better user experience. Contains extra logic for our Customizer controls & settings.

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

Defines 2 functions


Functions that are not part of a class:

twentyTwentySetAccessibleColorsValue( context, backgroundColor, accentHue )   X-Ref
Updates the value of the "accent_accessible_colors" setting.

return: {void}
param: {string} context The area for which we want to get colors. Can be for example "content", "header" etc.
param: {string} backgroundColor The background color (HEX value).
param: {number} accentHue Numeric representation of the selected hue (0 - 359).

twentyTwentySetRetineLogoVisibility( visible )   X-Ref
Shows or hides the "retina_logo" setting based on the given value.

return: {void}
param: {boolean} visible The visible value.

Generated : Sat May 30 08:20:01 2020 Cross-referenced by PHPXref