These are chat archives for ThoughtWorksInc/Binding.scala

17th
Feb 2017
Chris Camel
@ccamel
Feb 17 2017 12:58

@Atry Is it possible to declare embedded css ? It doesn't seem to work:

@dom def css = <style>
table {    
    position: relative;
}
</style>

Is there a special syntax for this to work ?
Thanks.

杨博 (Yang Bo)
@Atry
Feb 17 2017 13:34
@ccamel Use CDATA or {{
Chris Camel
@ccamel
Feb 17 2017 14:15

Oh yes. That was simple. :smile:

It could be nice to put this tip in the FAQ or somewhere else in the documentation.