Skip to content
PHP Ecosystem
Explore

Direction

API reference › HTML Attribute › Values › Direction

enumUIAwesome\Html\Attribute\Values\Direction
Backed bystring
Sourcesrc/Values/Direction.php

Represents values for the HTML dir global attribute.

See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir.

CaseValueDescription
AUTO'auto'Let the user agent decide.
LTR'ltr'Left-to-right text direction.
RTL'rtl'Right-to-left text direction.