[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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.

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).
return: {void}

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

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



Generated : Wed Dec 18 08:20:01 2024 Cross-referenced by PHPXref