[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/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

  twentyTwentySetAccessibleColorsValue()
  twentyTwentySetRetineLogoVisibility()

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).
since: Twenty Twenty 1.0

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

return: {void}
param: {boolean} visible The visible value.
since: Twenty Twenty 1.3



Generated: Wed Sep 22 01:00:04 2021 Cross-referenced by PHPXref 0.7.1