PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.5.2
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.5.2
3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / addons / StyleCustomizer / includes / customize / class-evf-customize-slider-control.php
everest-forms / addons / StyleCustomizer / includes / customize Last commit date
class-evf-customize-background-image-control.php 1 year ago class-evf-customize-color-control.php 1 year ago class-evf-customize-color-palette-control.php 1 year ago class-evf-customize-dimension-control.php 1 year ago class-evf-customize-image-checkbox-control.php 1 year ago class-evf-customize-image-radio-control.php 1 year ago class-evf-customize-select2-control.php 1 year ago class-evf-customize-slider-control.php 1 year ago class-evf-customize-templates-section.php 1 year ago class-evf-customize-toggle-control.php 1 year ago
class-evf-customize-slider-control.php
72 lines
1 <?php
2 /**
3 * Customize API: EVF_Customize_Slider_Control class
4 *
5 * @package EverestForms_Style_Customizer\Customize
6 * @since 1.0.0
7 */
8
9 defined( 'ABSPATH' ) || exit;
10
11 /**
12 * Customize Slider Control class.
13 *
14 * @see WP_Customize_Control
15 */
16 class EVF_Customize_Slider_Control extends WP_Customize_Control {
17
18 /**
19 * Type.
20 *
21 * @var string
22 */
23 public $type = 'evf-slider';
24
25 /**
26 * Refresh the parameters passed to the JavaScript via JSON.
27 *
28 * @uses WP_Customize_Control::to_json()
29 */
30 public function to_json() {
31 parent::to_json();
32 $this->json['default'] = $this->setting->default;
33 $this->json['id'] = $this->id;
34 $this->json['value'] = $this->value();
35 $this->json['link'] = $this->get_link();
36 $this->json['choices'] = $this->choices;
37
38 $this->json['inputAttrs'] = '';
39 foreach ( $this->input_attrs as $attr => $value ) {
40 $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" ';
41 }
42 }
43
44 /**
45 * Don't render the control content from PHP, as it's rendered via JS on load.
46 */
47 public function render_content() {}
48
49 /**
50 * Render a JS template for control display.
51 *
52 * @see WP_Customize_Control::print_template()
53 */
54 public function content_template() {
55 ?>
56 <# if ( data.label ) { #>
57 <label class="customize-control-title">{{ data.label }}</label>
58 <# } #>
59 <# if ( data.description ) { #>
60 <span class="description customize-control-description">{{{ data.description }}}</span>
61 <# } #>
62 <div class="customize-control-content">
63 <div class="everest-forms-slider"></div>
64 <div class="everest-forms-slider-input">
65 <input {{{ data.inputAttrs }}} type="number" class="slider-input" value="{{ data.value }}" {{{ data.link }}}/>
66 <span class="reset dashicons dashicons-image-rotate"></span>
67 </div>
68 </div>
69 <?php
70 }
71 }
72