WordPress at a glance
function is not described

WP_Customize_Header_Image_Control::enqueue() WP 1.0

This is a method of the class: WP_Customize_Header_Image_Control

No Hooks.

Return

Null. Nothing.

Usage

$WP_Customize_Header_Image_Control = new WP_Customize_Header_Image_Control();
$var = $WP_Customize_Header_Image_Control->enqueue();

Code of WP Customize Header Image Control::enqueue: wp-includes/customize/class-wp-customize-header-image-control.php WP 5.2.4

<?php
public function enqueue() {
	wp_enqueue_media();
	wp_enqueue_script( 'customize-views' );

	$this->prepare_control();

	wp_localize_script(
		'customize-views',
		'_wpCustomizeHeader',
		array(
			'data'     => array(
				'width'         => absint( get_theme_support( 'custom-header', 'width' ) ),
				'height'        => absint( get_theme_support( 'custom-header', 'height' ) ),
				'flex-width'    => absint( get_theme_support( 'custom-header', 'flex-width' ) ),
				'flex-height'   => absint( get_theme_support( 'custom-header', 'flex-height' ) ),
				'currentImgSrc' => $this->get_current_image_src(),
			),
			'nonces'   => array(
				'add'    => wp_create_nonce( 'header-add' ),
				'remove' => wp_create_nonce( 'header-remove' ),
			),
			'uploads'  => $this->uploaded_headers,
			'defaults' => $this->default_headers,
		)
	);

	parent::enqueue();
}