src/RadioButtonGroup.php
protected function registerClientScript()
    {
        $view = $this->getView();
        RadioButtonGroupAsset::register($view);

        $id = $this->widgetId;
        $options =  Json::encode($this->itemOptions);

        $js[] = "jQuery('#$id').radioButtonGroup($options);";
        $view->registerJs(implode("\n", $js));
    }
protected function registerClientScript()
    {
        $view = $this->getView();
        RadioButtonGroupAsset::register($view);

        $id = $this->widgetId;
        $options =  Json::encode($this->itemOptions);

        $js[] = "jQuery('#$id').radioButtonGroup($options);";
        $view->registerJs(implode("\n", $js));
    }
Registers widget assets