Class: Loader

wp.customize. Loader


new Loader()

Allows the Customizer to be overlayed on any page. By default, any element in the body with the load-customize class will open an iframe overlay with the URL specified. e.g. Open Customizer
Source:

Extends

  • wp.customize.Events

Members


overlay

Overlay hide/show utility methods.
Source:

Methods


close()

Close the Customizer overlay.
Source:

closed()

Callback after the Customizer has been closed.
Source:

initialize()

Setup the Loader; triggered on document#ready.
Source:

loaded()

Callback for the `load` event on the Customizer iframe.
Source:

open(string)

Open the Customizer overlay for a specific URL.
Parameters:
Name Type Description
string src URL to load in the Customizer.
Source:

opened()

Callback after the Customizer has been opened.
Source: