# betterdocs/4.2.0/includes/Admin/Customizer/Controls/RangeValueControl.php

BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ &amp; Chatbot, version 4.2.0. 41 lines.

- Page: https://pluginprobe.com/plugins/betterdocs/4.2.0/code/includes/Admin/Customizer/Controls/RangeValueControl.php
- Raw: https://pluginprobe.com/plugins/betterdocs/4.2.0/raw/includes/Admin/Customizer/Controls/RangeValueControl.php
- Modified: 2024-12-09T12:10:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/betterdocs/4.2.0/code/includes/Admin/Customizer/Controls/RangeValueControl.php#L10-L20`.

```php
<?php

namespace WPDeveloper\BetterDocs\Admin\Customizer\Controls;

use WP_Customize_Control;

class RangeValueControl extends WP_Customize_Control {
	/**
	 * Control name.
	 * @var string
	 */
	public $type = 'betterdocs-range-value';

	/**
	 * Enqueue scripts/styles.
	 *
	 * @since 1.0.0
	 */
	public function enqueue() {
		betterdocs()->assets->enqueue(
			'betterdocs-customizer-range-value-control',
			'customizer/js/customizer-range-value-control.js',
			[ 'jquery' ]
		);
		betterdocs()->assets->enqueue(
			'betterdocs-customizer-range-value-control',
			'customizer/css/customizer-range-value-control.css'
		);
	}

	/**
	 * Render the control's content.
	 *
	 * @version 1.0.0
	 *
	 */
	public function render_content() {
		betterdocs()->views->get( 'admin/customizer/controls/range-value', [ 'control' => $this ] );
	}
}

```
