annotate env/ui/cell_main.lua @ 1535:770ab0a7f79b
Added optional callback after creation of new draft
 | author | bsw | 
 | date | Tue Oct 06 19:31:19 2020 +0200 (2020-10-06) | 
 | parents | 32cc544d5a5b | 
 | children |  | 
 
 | rev | line source | 
| bsw/jbe@1309 | 1 function ui.cell_main(args) | 
| bsw/jbe@1309 | 2   args.attr = args.attr or {} | 
| bsw/jbe@1309 | 3   args.attr.class = args.attr.class and args.attr.class .. " " or "" | 
| bsw/jbe@1309 | 4   args.attr.class = args.attr.class .. "mdl-cell mdl-cell--12-col mdl-cell--5-col-tablet mdl-cell--8-col-desktop mdl-cell--order-2-tablet mdl-cell--order-2-desktop" | 
| bsw/jbe@1309 | 5   ui.container(args) | 
| bsw/jbe@1309 | 6 end |