Skip to content
Nick Sutterer edited this page Aug 26, 2021 · 8 revisions

Layout

Current way

Cell.new(..., layout: Layout::Cell)

We need to be able to configure the layout at call-time, too (or only there). Otherwise, it's very clumsy to add a controller-wide layout.

cell = Cell.new(layout: ..) # happens in cell(...)
cell.(we need layout here) # happens in {render cell()}