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

WordPress Trac noreply at wordpress.org
Sun Feb 28 05:01:29 UTC 2016


#31320: Make customizer JavaScript API available during the live preview
-------------------------+-------------------------
 Reporter:  Fab1en       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.5
Component:  Customize    |     Version:  4.1
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:  javascript
-------------------------+-------------------------

Comment (by sidati):

 How about adding an event when the customize pane is fully rendered, i
 believe this is good idea, cause in my code i need to hide some sidebars
 sections, and it seems they rendered too late even with the `_.defer`
 function. the only way i get it work is with a `setTimeout` with 5000ms
 delay, and i'm afraid this duration depends how mush settings/widgets are
 existed.

 Also, have a look at this comment :
 https://core.trac.wordpress.org/ticket/31320#comment:10.

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


More information about the wp-trac mailing list