[ 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.

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

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

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



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1