View Source ElementTui.Element (ElementTui v0.3.1)
Elements are the core of the TUI layout. Importantly they are composable so that you can build complex layouts from simple elements.
# Create a text element with width 10
Element.text("Hello") |> Element.width(10)
Summary
Functions
Plot multiple layers on top of each other. Ensures that the layers are drawn in the correct order.
Opts can contain scroll: true
Functions
Plot multiple layers on top of each other. Ensures that the layers are drawn in the correct order.
Opts can contain scroll: true