Packages

ElementTuiComponents: TUI component companion library for ElementTui.

Current section

Files

Jump to
elementtui_components lib experimental parser.ex
Raw

lib/experimental/parser.ex

defmodule ElementTui.Experimental.Parser do
# Dummy module that can be used to experiment with the API
# Fallback
def calculate_dim(element, width, height) do
ElementTui.Parser.calculate_dim(element, width, height)
end
# Fallback
def parse(element, x, y, width, height) do
ElementTui.Parser.parse(element, x, y, width, height)
end
end