[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/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: 186 lines (6 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:

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

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

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

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

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1