Hide/Show on button click (depending on status of visibility)?
Is it possible to have a property as a condition?
I want a button that changes when it is clicked.
So when the button is grey, it should change to white when clicked.
And when it is white it should change to gray when clicked.
Same with visiblity of elements.
When a button is clicked once, an element should be made visible.
When it is clicke a second time it should hide.
Can you point me in the right direction?
To create a condition based on an element's visibility, drag the element into the open space in the Conditional Expression builder and use the dropdown to select 'visible'. Then, drag a 'Not' function in front of it.
To create a condition based on an element's visibility, drag the element into the open space in the Conditional Expression builder and use the dropdown to select 'visible'. Then, drag a 'Not' function in front of it.
Ok...
i think i got the answer myself.
When ever i created the interactions i created 2 seperate tap events and not one event with an else condition. That seemed to block both interactions.
Now it seems to work.
Ok...
i think i got the answer myself.
When ever i created the interactions i created 2 seperate tap events and not one event with an else condition. That seemed to block both interactions.
Now it seems to work.
To create a condition based on an element's visibility, drag the element into the open space in the Conditional Expression builder and use the dropdown to select 'visible'. Then, drag a 'Not' function in front of it.
To create a condition based on an element's visibility, drag the element into the open space in the Conditional Expression builder and use the dropdown to select 'visible'. Then, drag a 'Not' function in front of it.
Replies have been locked on this page!