Skyline_panel_v1Sourcemodule Config = Bonsai_web_panel.Configmodule Logic = Bonsai_web_panel.Logicmodule Ui = Bonsai_web_panel.UiSkyline_panel provides Skyline styles for the Bonsai_web_panel. You can use Skyline_panel.style_config with Bonsai_web_panel functions, or just Skyline_panel.component as shorthand.
val component :
logic:'a Logic.t Bonsai_web.Bonsai.t ->
content:'a Ui.Content.t ->
Bonsai_web.Bonsai.graph @ local ->
Bonsai_web.Vdom.Node.t Bonsai_web.Bonsai.tval columns :
Bonsai_web.Vdom.Node.t list Bonsai_web.Bonsai.t ->
Bonsai_web.Bonsai.graph @ local ->
Bonsai_web.Vdom.Node.t Bonsai_web.Bonsai.tcolumns renders views as evenly-sized, resizable, side-by-side columns.
If you need control over sizing, titles, or other features, use component instead.
val rows :
Bonsai_web.Vdom.Node.t list Bonsai_web.Bonsai.t ->
Bonsai_web.Bonsai.graph @ local ->
Bonsai_web.Vdom.Node.t Bonsai_web.Bonsai.trows is like columns, but renders views as stacked rows.