dashicons.js (333B)
1 wp.customize.controlConstructor['kirki-dashicons'] = wp.customize.Control.extend({ 2 3 // When we're finished loading continue processing 4 ready: function() { 5 6 'use strict'; 7 8 var control = this; 9 10 // Save the value 11 this.container.on( 'click', 'input', function() { 12 control.setting.set( jQuery( this ).val() ); 13 }); 14 15 } 16 17 });