Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
class ET_Builder_Module_Helper_Motion_Opacity extends ET_Builder_Module_Helper_Motion_Sanitizer {
|
||||
|
||||
/**
|
||||
* @param string $value
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function sanitize( $value ) {
|
||||
return min( 100, max( 0, (int) $value ) ) . '%';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user