__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Form\Element\Text;
use Nextend\Framework\Asset\Js\Js;
class NumberSlider extends Number {
protected $step = 1;
protected $sliderMax;
protected function fetchElement() {
$html = parent::fetchElement();
Js::addInline('new _N2.FormElementNumberSlider("' . $this->fieldID . '", ' . json_encode(array(
'min' => floatval($this->min),
'max' => floatval($this->sliderMax),
'step' => floatval($this->step),
'units' => $this->units
)) . ');');
return $html;
}
/**
* @param int $step
*/
public function setStep($step) {
$this->step = $step;
}
/**
* @param int $sliderMax
*/
public function setSliderMax($sliderMax) {
$this->sliderMax = $sliderMax;
}
/**
* @param int $max
*/
public function setMax($max) {
parent::setMax($max);
if ($this->sliderMax === null) {
$this->sliderMax = $max;
}
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Color.php | File | 891 B | 0664 |
|
| Disabled.php | File | 190 B | 0664 |
|
| Family.php | File | 518 B | 0664 |
|
| FieldImage.php | File | 1.48 KB | 0664 |
|
| FieldImageResponsive.php | File | 328 B | 0664 |
|
| Folder.php | File | 1.08 KB | 0664 |
|
| HiddenText.php | File | 252 B | 0664 |
|
| Number.php | File | 2.68 KB | 0664 |
|
| NumberAutoComplete.php | File | 553 B | 0664 |
|
| NumberSlider.php | File | 1.04 KB | 0664 |
|
| TextAutoComplete.php | File | 595 B | 0664 |
|
| TextMultiAutoComplete.php | File | 861 B | 0664 |
|
| Url.php | File | 1.2 KB | 0664 |
|
| Video.php | File | 298 B | 0664 |
|