public function registerAssetFiles($view)
    {
        switch ($this->theme) {
            case Quill::THEME_SNOW:
                $this->css = [$this->url . $this->version . '/quill.snow.css'];
                break;

            case Quill::THEME_BUBBLE:
                $this->css = [$this->url . $this->version . '/quill.bubble.css'];
                break;

            default:
                $this->css = [$this->url . $this->version . '/quill.core.css'];
        }
        
        $this->js = [$this->url . $this->version . '/quill.min.js'];
        
        parent::registerAssetFiles($view);
    }
public function registerAssetFiles($view)
    {
        switch ($this->theme) {
            case Quill::THEME_SNOW:
                $this->css = [$this->url . $this->version . '/quill.snow.css'];
                break;

            case Quill::THEME_BUBBLE:
                $this->css = [$this->url . $this->version . '/quill.bubble.css'];
                break;

            default:
                $this->css = [$this->url . $this->version . '/quill.core.css'];
        }
        
        $this->js = [$this->url . $this->version . '/quill.min.js'];
        
        parent::registerAssetFiles($view);
    }
public function registerAssetFiles ( $ view ) { switch ( $ this -> theme ) { case Quill :: THEME_SNOW : $ this -> css = [ $ this -> url . $ this -> version . '/quill.snow.css' ] ; break ; case Quill :: THEME_BUBBLE : $ this -> css = [ $ this -> url . $ this -> version . '/quill.bubble.css' ] ; break ; default : $ this -> css = [ $ this -> url . $ this -> version . '/quill.core.css' ] ; } $ this -> js = [ $ this -> url . $ this -> version . '/quill.min.js' ] ; parent :: registerAssetFiles ( $ view ) ; }
Register CSS and JS file based on theme and version.
@param \yii\web\View $view the view that the asset files are to be registered with.
Register CSS and JS file based on theme and version .