protected function initAutoHide()
    {
        if ($this->getIsDelayed() === false) {
            return null;
        }

        /** @var \yii\web\View $view */
        $view = $this->getView();

        $view->registerJs($this->makeJs(), View::POS_READY);

        AlertAssets::register($view);
    }
protected function initAutoHide()
    {
        if ($this->getIsDelayed() === false) {
            return null;
        }

        /** @var \yii\web\View $view */
        $view = $this->getView();

        $view->registerJs($this->makeJs(), View::POS_READY);

        AlertAssets::register($view);
    }
protected function initAutoHide ( ) { if ( $ this -> getIsDelayed ( ) === false ) { return null ; } /** @var \yii\web\View $view */ $ view = $ this -> getView ( ) ; $ view -> registerJs ( $ this -> makeJs ( ) , View :: POS_READY ) ; AlertAssets :: register ( $ view ) ; }
Initialize javascript function for autoHide
Initialize javascript function for autoHide