macgyer\yii2materializecss\widgets\Dropdown::run PHP Method

run() public method

Renders the widget and registers the plugin asset.
public run ( ) : string
return string the result of widget execution to be outputted.
    public function run()
    {
        MaterializePluginAsset::register($this->getView());
        $this->registerClientEvents();
        return $this->renderItems($this->items, $this->options);
    }