Fork me on GitHub
#reagent
<
2016-01-15
>
pepe11:01:49

Hello, I have problem to set the allowfullscreen attr on the iframe in the reagent component. Has anyone encountered this, and maybe have solution?

hugobessaa11:01:25

show some code, we may be able to help you

pepe11:01:08

@hugobessaa: sorry: ` [:iframe {:src url :frameborder "0" :allowfullscreen true}] `

hugobessaa11:01:34

and what problem are you running into?

pepe11:01:50

the frameborder and allowfullscreen attributes are not rendered

gadfly36111:01:16

I haven't used that before, but try adding dashes to the attr names

pepe11:01:56

@gadfly361: I will try, thank you

pepe12:01:22

@gadfly361: it does not seem to work

pepe12:01:34

@gadfly361: actually it works, thank you very much!

hugobessaa12:01:35

great someone helped you simple_smile

escherize18:01:09

and semantic UI... that thing is sweet.

hugobessaa22:01:14

What patterns are you using to write nice reagent components? I'm now using for instead of map when iterating over collections to build elements.

magomimmo22:01:40

@escherize: really awesome! Congrats!