# elementor/4.2.0/modules/interactions/validators/trigger-value.php

Elementor Website Builder – more than just a page builder, version 4.2.0. 25 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.2.0/code/modules/interactions/validators/trigger-value.php
- Raw: https://pluginprobe.com/plugins/elementor/4.2.0/raw/modules/interactions/validators/trigger-value.php
- Modified: 2026-03-30T09:49:26+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/elementor/4.2.0/code/modules/interactions/validators/trigger-value.php#L10-L20`.

```php
<?php

namespace Elementor\Modules\Interactions\Validators;

use Elementor\Modules\Interactions\Validators\String_Value as StringValueValidator;

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

class Trigger_Value {
	private const VALID_TRIGGERS = [
		'load',
		'scrollIn',
		'scrollOut',
		'scrollOn',
		'hover',
		'click',
	];

	public static function is_valid( $trigger_prop_value ) {
		return StringValueValidator::is_valid( $trigger_prop_value, static::VALID_TRIGGERS );
	}
}

```
