Closed jeluard closed 10 years ago
The style key should support multiple style element definition and a way to provide other style attribute (like media or title).
style
media
title
A potential syntax could be:
(defwebcomponent my-component :style '({:media "screen" :title "My screen style" :content "a {background: red;}"} {:media "print" :title "My print style" :content [:a {:background "green"})}
List syntax is now available for both style and content
content
The
style
key should support multiple style element definition and a way to provide other style attribute (likemedia
ortitle
).A potential syntax could be: