yii2fullcalendar\yii2fullcalendar::run PHP Method

run() public method

Renders the widget.
public run ( )
    public function run()
    {
        $this->options['data-plugin-name'] = $this->_pluginName;
        if (!isset($this->options['class'])) {
            $this->options['class'] = 'fullcalendar';
        }
        echo Html::beginTag('div', $this->options) . "\n";
        echo Html::beginTag('div', ['class' => 'fc-loading', 'style' => 'display:none;']);
        echo Html::encode($this->loading);
        echo Html::endTag('div') . "\n";
        echo Html::endTag('div') . "\n";
        $this->registerPlugin();
    }