HEX
Server: LiteSpeed
System: Linux server302.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: synqowzz (1256)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/jeg-elementor-kit/lib/jeg-framework/form/field/class-alert.php
<?php
/**
 * Customizer Control: text.
 *
 * Creates a text
 *
 * @author Jegstudio
 * @since 1.0.0
 * @package jeg-framework
 */

namespace Jeg\Form\Field;

/**
 * Slider control (range).
 */
class Alert extends Field_Abstract {

	/**
	 * Form Text Template
	 *
	 * @var string
	 */
	protected $type = 'alert';

	/**
	 * An Underscore (JS) template for this control's content
	 */
	public function js_template() {
		?>
		<div class="widget-wrapper type-alert" data-field="{{ data.fieldID }}">
			<div class="widget-alert alert-{{ data.default }}" id="{{ data.fieldID }}" name="{{ data.fieldName }}">
				<strong>{{{ data.title }}}</strong>
				<div class="alert-description">{{{ data.description }}}</div>
			</div>
		</div>
		<?php
	}
}