Color.php
22 hours ago
InputType.php
22 hours ago
Positions.php
22 hours ago
Size.php
22 hours ago
Variant.php
22 hours ago
Positions.php
41 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Position constants for the components |
| 4 | * |
| 5 | * @package Tutor\Components |
| 6 | * @author Themeum |
| 7 | * @link https://themeum.com |
| 8 | * @since 4.0.0 |
| 9 | */ |
| 10 | |
| 11 | namespace Tutor\Components\Constants; |
| 12 | |
| 13 | defined( 'ABSPATH' ) || exit; |
| 14 | |
| 15 | /** |
| 16 | * This class provides various position constants. |
| 17 | * |
| 18 | * @since 4.0.0 |
| 19 | */ |
| 20 | abstract class Positions { |
| 21 | |
| 22 | /** |
| 23 | * Position Types |
| 24 | * |
| 25 | * @since 4.0.0 |
| 26 | */ |
| 27 | public const LEFT = 'left'; |
| 28 | public const LEFT_TOP = 'left-top'; |
| 29 | public const LEFT_BOTTOM = 'left-bottom'; |
| 30 | public const RIGHT = 'right'; |
| 31 | public const RIGHT_TOP = 'right-top'; |
| 32 | public const RIGHT_BOTTOM = 'right-bottom'; |
| 33 | public const TOP = 'top'; |
| 34 | public const TOP_START = 'top-start'; |
| 35 | public const TOP_END = 'top-end'; |
| 36 | public const BOTTOM = 'bottom'; |
| 37 | public const BOTTOM_START = 'bottom-start'; |
| 38 | public const BOTTOM_END = 'bottom-end'; |
| 39 | public const CENTER = 'center'; |
| 40 | } |
| 41 |