public function spinner($options = [])
 {
     $this->parts['{input}'] = Spinner::widget(array_merge($options, ['model' => $this->model, 'attribute' => $this->attribute]));
     return $this;
 }
 /**
  * Generates spinner component.
  *
  * @param array $options spinner options
  * @return $this
  */
 public function spinner($options = [])
 {
     $this->parts['{input}'] = Spinner::widget(array_merge($options, ['model' => $this->model, 'attribute' => $this->attribute, 'form' => $this->form, 'type' => $this->type, 'addon' => $this->addon]));
     $this->addon = [];
     // addon already processed by widget
     return $this;
 }