[wp-trac] [WordPress Trac] #31320: Make customizer JavaScript API available during the live preview

WordPress Trac noreply at wordpress.org
Fri Feb 13 16:48:48 UTC 2015


#31320: Make customizer JavaScript API available during the live preview
-------------------------+------------------------------
 Reporter:  Fab1en       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Customize    |     Version:  4.1
 Severity:  normal       |  Resolution:  worksforme
 Keywords:  2nd-opinion  |     Focuses:  javascript
-------------------------+------------------------------
Changes (by Aniruddh):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Replying to [comment:2 Fab1en]:
 > Yes, `wp` object is here, `wp.customize` is defined but
 `wp.customize.control` is not

 I can access `wp.customize.control` in the JS file I enqueued via
 `customize_control_init` hook.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31320#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list