This repository has been archived on 2022-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
|
<?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 ) ) . '%';
|
|
}
|
|
}
|