[wp-trac] [WordPress Trac] #30850: Audio/video previews for media controls in the Customizer
WordPress Trac
noreply at wordpress.org
Sun Feb 15 05:43:38 UTC 2015
#30850: Audio/video previews for media controls in the Customizer
-------------------------------------+-------------------------
Reporter: celloexpressions | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.2
Component: Customize | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: javascript
-------------------------------------+-------------------------
Comment (by westonruter):
I think what you're looking for is:
{{{#!js
wp.customize.section( control.section() ).expanded.bind( function (
expanded ) {
if ( expanded ) {
// it is open
} else {
// it is closed
}
} )
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30850#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list