krasimir / layout-architect

A small utility for building layouts written in vanilla JavaScript
https://krasimir.github.io/layout-architect/
MIT License
36 stars 1 forks source link

Suggestions : automatic names and colorings #1

Open thipages opened 5 years ago

thipages commented 5 years ago

Hi, so cool !!!

It may be interesting to

  1. put automatic names either following incremental indexes or row/col ids eg (R1C1, ...)
  2. draw the layout parts with different colors
krasimir commented 5 years ago

Hey, interesting ideas. The second one is I guess easy to do. The first one is a little bit out of the idea behind the library. Which is to make a layout of already known blocks.

thipages commented 5 years ago

Hi, for the point 1, I mentionned it cause I made a code one day (php) building such layout (including overlays) with commands, something like

    rows(0,1,0)
    R1
    content(test2)
    at(R2)
    cols(1,2,1)