[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/admin/js/ -> customizer-controls.js (source)

   1  /**
   2   * Customizer controls implementation.
   3   *
   4   * If you're looking to add JS for a specific panel or control, don't add it here.
   5   * The file only implements generic Customizer control implementations.
   6   *
   7   * @since 2.5.0
   8   */
   9  
  10  (function( $ ) {
  11      $( window ).on( 'load', function() {
  12          /**
  13           * <range> element: update label when value changes.
  14           *
  15           * @since 2.5.0
  16           */
  17          $( '.customize-control-range input' ).on( 'input', function() {
  18              var $this = $( this );
  19              $this.siblings( 'output' ).text( $this.val() );
  20          });
  21      });
  22  })( jQuery );


Generated: Fri Mar 29 01:01:02 2024 Cross-referenced by PHPXref 0.7.1