# hello-plus/1.2.0/modules/content/classes/control-zig-zag-animation.php

Hello Plus, version 1.2.0. 40 lines.

- Page: https://pluginprobe.com/plugins/hello-plus/1.2.0/code/modules/content/classes/control-zig-zag-animation.php
- Raw: https://pluginprobe.com/plugins/hello-plus/1.2.0/raw/modules/content/classes/control-zig-zag-animation.php
- Modified: 2025-01-14T16:57:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/hello-plus/1.2.0/code/modules/content/classes/control-zig-zag-animation.php#L10-L20`.

```php
<?php
namespace HelloPlus\Modules\Content\Classes;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

use Elementor\Control_Animation;

class Control_Zig_Zag_Animation extends Control_Animation {

	const CONTROL_TYPE = 'ehp-zigzag-animation';

	public function get_type(): string {
		return static::CONTROL_TYPE;
	}

	public static function get_default_animations(): array {
		return [
			'Fading' => [
				'fadeIn' => 'Fade In',
				'fadeInLeft' => 'Fade In Left',
				'fadeInRight' => 'Fade In Right',
				'fadeInUp' => 'Fade In Up',
			],
			'Bouncing' => [
				'bounceIn' => 'Bounce In',
				'bounceInLeft' => 'Bounce In Left',
				'bounceInRight' => 'Bounce In Right',
				'bounceInUp' => 'Bounce In Up',
			],
			'Sliding' => [
				'slideInLeft' => 'Slide In Left',
				'slideInRight' => 'Slide In Right',
				'slideInUp' => 'Slide In Up',
			],
		];
	}
}

```
