These are chat archives for ThoughtWorksInc/Binding.scala

28th
Feb 2017
decapo01
@decapo01
Feb 28 2017 01:45
Is is possible to add <style> tags to binding nodes. ex:
<style>
@media(min-width: 768){
  .some-class: {color: blue}
}
</style>
<div class="some-class">Hello</div>
杨博 (Yang Bo)
@Atry
Feb 28 2017 01:45
@decapo01 See FAQ
decapo01
@decapo01
Feb 28 2017 01:50
just tried adding
@dom def css = <style>
  <![CDATA[    body {      background-color: lightblue;    }  ]]>
</style>
and it doesnt compile
there is a div underneth the style element tho
杨博 (Yang Bo)
@Atry
Feb 28 2017 01:53
I don't know what does "it doesnt compile" mean
decapo01
@decapo01
Feb 28 2017 02:04
Sorry it has to do with a specific type I made...It's working now