src/widget/ButtonDropdown.php
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');
    }
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');
    }
Renders the widget.