| @@ -1,6 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 2 | 3 | namespace UiCoreElements; |
| 4 | + | |
| 3 | 5 | use Elementor\Plugin; |
| 4 | 6 | |
| 5 | 7 | defined('ABSPATH') || exit(); |
| 6 | 8 | |
| @@ -10,9 +12,10 @@ | ||
| 10 | 12 | * @author Lucas Marini Falbo <lucas@uicore.co> |
| 11 | 13 | * @since 1.0.7 |
| 12 | 14 | */ |
| 13 | 15 | |
| 14 | -class CustomSlider extends CustomCarousel { | |
| 16 | +class CustomSlider extends CustomCarousel | |
| 17 | +{ | |
| 15 | 18 | |
| 16 | 19 | public function get_name() |
| 17 | 20 | { |
| 18 | 21 | return 'uicore-custom-slider'; |
| @@ -40,9 +43,9 @@ | ||
| 40 | 43 | 'carousel', |
| 41 | 44 | 'animation', // hover animations |
| 42 | 45 | 'entrance', // entrance basic style |
| 43 | 46 | ]; |
| 44 | - if(!class_exists('\UiCore\Core') && !class_exists('\UiCoreAnimate\Base')){ | |
| 47 | + if (!class_exists('\UiCore\Core') && !class_exists('\UiCoreAnimate\Base')) { | |
| 45 | 48 | $styles['e-animations'] = [ // entrance animations |
| 46 | 49 | 'external' => true, |
| 47 | 50 | ]; |
| 48 | 51 | } |
| @@ -85,5 +88,5 @@ | ||
| 85 | 88 | ] |
| 86 | 89 | ); |
| 87 | 90 | } |
| 88 | 91 | } |
| 89 | -\Elementor\Plugin::instance()->widgets_manager->register(new CustomSlider()); | |
| 92 | +\Elementor\Plugin::instance()->widgets_manager->register(new CustomSlider()); | |