26 lines
828 B
Elixir
26 lines
828 B
Elixir
|
|
# This file is auto-generated by alef — DO NOT EDIT.
|
||
|
|
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||
|
|
# To regenerate: alef generate
|
||
|
|
# To verify freshness: alef verify --exit-code
|
||
|
|
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
||
|
|
defmodule Kreuzberg.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
|