* @since 1.0 * @see http://twitter.github.com/typeahead.js/examples */ class RangeInput extends \kartik\base\Html5Input { public $type = 'range'; public $orientation; /** * @inherit doc */ public function init() { if ($this->orientation == 'vertical') { Html::addCssClass ( $this->containerOptions, 'kv-range-vertical' ); $this->html5Options ['orient'] = 'vertical'; } parent::init (); } }