%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018
* @package yii2-widgets
* @subpackage yii2-widget-rangeinput
* @version 1.0.2
*/
namespace kartik\range;
use Yii;
use yii\helpers\Html;
/**
* RangeInput widget is an enhanced widget encapsulating the HTML 5 range input.
*
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @since 1.0
* @see http://twitter.github.com/typeahead.js/examples
*/
class RangeInput extends \kartik\base\Html5Input
{
/**
* @var string the HTML5 input type
*/
public $type = 'range';
/**
* @var string the orientation of the range input. If set to `vertical` will orient the range
* sliders vertically - else will display the sliders horizontally.
*/
public $orientation;
/**
* @inheritdoc
*/
public function run()
{
if ($this->orientation == 'vertical') {
Html::addCssClass($this->containerOptions, 'kv-range-vertical');
$this->html5Options['orient'] = 'vertical';
}
return parent::run();
}
}