it's like... not possible with hiccup. Usually I do [:div {:itemscope true}
"BRMC"] or perhaps [:div {:itemscope :itemscope} "BRMC"].

I hope that works out in this case as well.

/Linus

2017-02-21 21:33 GMT+01:00 Divyansh Prakash <[email protected]>:

> Hi!
>
> I'm working on a music discovery website (http://www.rockhuntrs.com).
> It's built on top of reagent-template.
>
> I now want to add schema.org microdata that looks like this:
>
> <div itemscope>
>   BRMC
> </div>
>
> How do I add the itemscope attribute?
>
> [:div {:itemscope ??} "BRMC"]
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to