JS displaying text

I want to be able to do something like this:

if(squiffy.get("variableThatIsTrue")){
    //Display Text
}

And in the "Display text" part I want to display some text.


if(squiffy.get('variableThatIsTrue')){
    squiffy.ui.write('text to be displayed');
}

Thank you.


This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums