Flatten a style to an inline string
style_flatten_to_inline(style)
style | a named list of property/value pairs |
---|
single string suitable for a style
attribute on an element
if (FALSE) { style_flatten_to_line(list(color='black', border='1px')) # -> "color:black; border: 1px;" }