mirror of
https://github.com/proelements/proelements.git
synced 2026-04-18 01:52:20 +00:00
v3.33.1
This commit is contained in:
23
modules/slides/controls/control-slides-animation.php
Normal file
23
modules/slides/controls/control-slides-animation.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace ElementorPro\Modules\Slides\Controls;
|
||||
|
||||
use Elementor\Control_Hover_Animation;
|
||||
|
||||
class Control_Slides_Animation extends Control_Hover_Animation {
|
||||
|
||||
const TYPE = 'animation_slides_content';
|
||||
|
||||
public function get_type(): string {
|
||||
return static::TYPE;
|
||||
}
|
||||
|
||||
public static function get_animations(): array {
|
||||
return [
|
||||
'fadeInDown' => esc_html__( 'Down', 'elementor-pro' ),
|
||||
'fadeInUp' => esc_html__( 'Up', 'elementor-pro' ),
|
||||
'fadeInRight' => esc_html__( 'Right', 'elementor-pro' ),
|
||||
'fadeInLeft' => esc_html__( 'Left', 'elementor-pro' ),
|
||||
'zoomIn' => esc_html__( 'Zoom', 'elementor-pro' ),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user