code: public function run()
      {
          if ($this->split) {
              echo $this->renderGroup($this->renderButton() . "\n" . $this->renderDropdown());
          }else if($this->group){
              echo $this->renderGroup($this->renderButton() . "\n" . $this->renderDropdown());
          }else{
              echo $this->renderButton() . "\n" . $this->renderDropdown();
          }
          $this->registerPlugin('button');
      }
docs: Renders the widget.