Lines Matching refs:layout
244 function template.new(view, layout)
253 if layout then
254 if type(layout) == "table" then
259 layout.blocks = context.blocks or {}
260 layout.view = context.view or EMPTY
261 layout:render()
267 layout.blocks = context.blocks or {}
268 layout.view = context.view
269 return tostring(layout)
276 template.render(layout, context)
282 return template.process(layout, context)