[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Customizer enhancements for a better user experience. Contains handlers to make Theme Customizer preview reload changes asynchronously.

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

Defines 2 functions

  returnDeferred()
  twentyTwentyGenerateColorA11yPreviewStyles()

Functions
Functions that are not part of a class:

returnDeferred( partial )   X-Ref
Return a value for our partial refresh.

return: {jQuery.Promise} Resolved promise.
param: {Object} partial  Current partial.
since: Twenty Twenty 1.0

twentyTwentyGenerateColorA11yPreviewStyles( context )   X-Ref
Add styles to elements in the preview pane.

return: {void}
param: {string} context The area for which we want to generate styles. Can be for example "content", "header" etc.
since: Twenty Twenty 1.0



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1