Fork me on GitHub
#specter
<
2017-03-22
>
conaw17:03:01

just had an idea that might be useful for some folks here… the new CSS Grid Module that just shipped in browsers has a feature called “grid-template-areas” which lets you build up an ascii-art style layout and then apply items to that layout according to names

conaw17:03:04

so you’d have

” ‘header header header’ 
‘sidebar content ads'
'footer footer footer’"

conaw17:03:04

I’ve been thinking about how I might dynamically generate certain named layouts based on content and user actions, realized specter could be used for doing things like inserting columns

conaw18:03:44

(def a (for [x (range 6)]
         (for [y (range 6)]
           y
           )
         ))

(sp/setval [(sp/srange 0 3) ALL
            (sp/srange 4 5) ALL] :a
a
          )