Quantcast
Viewing all articles
Browse latest Browse all 4826

Can I bind style on a link-to?

@joedaniels29 wrote:

heres my link-to:

{{#link-to "projects.glob" m.id
        style=(concat "background-color:" m.color.primary)}} ...
        {{/link-to}}

I might be crazy but shouldnt there be some way of adding arbitrary attr bindings to the underlying element of the component?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles