I have the following function javascript function call.
<script>myFunctionHere({log:true})</script>
I want to check the value of property (checkbox dialog) so I can pass the required value but it's not working.
I tried:
<script>myFunctionHere({log:${properties.logme ? 'true' : 'false'}})</script>
But when I looked at the resulting HTML, it looks like this:
<script>myFunctionHere({log:})</script>
Any ideas how it can be done? Thanks