Current section
Files
Jump to
Current section
Files
lib/xberg/text_direction.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:0ba7524a2759609dc6f17c04fa9ae89940b7a540ae2e9a3708ac3fca410f8701
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.TextDirection do
@moduledoc "Text direction enumeration for HTML documents."
@typedoc "Text direction enumeration for HTML documents."
@type t :: :ltr | :rtl | :auto
@left_to_right :ltr
@right_to_left :rtl
@auto :auto
@doc "Left-to-right text direction"
@spec left_to_right() :: t()
def left_to_right, do: @left_to_right
@doc "Right-to-left text direction"
@spec right_to_left() :: t()
def right_to_left, do: @right_to_left
@doc "Automatic text direction detection"
@spec auto() :: t()
def auto, do: @auto
end