Button

can we use button and put if else condition in there? thank youuuuu :slight_smile:

What do you mean by “put an if then else condition in there”? 

Do you mean using widget.newButton?  In it’s constructor? 

What condition are you wanting to test for and do differently?

Explain your use case a bit for us…

Rob

What do you mean by “put an if then else condition in there”? 

Do you mean using widget.newButton?  In it’s constructor? 

What condition are you wanting to test for and do differently?

Explain your use case a bit for us…

Rob