public function registerAssets($view) 
    {
        OwlCarouselAsset::register($view);
        $js = 'jQuery("#' . $this->containerOptions['id'] . '").owlCarousel('. "\n";
        $js .= json_encode($this->pluginOptions)."\n";
        $js .= ");\n";
        $view->registerJs($js, $view::POS_READY);
    }