![]() Check out these exercises to learn how to use them. With Variables, you can transfer information from screen to screen and create advanced interactions. How-tos: learn how to design common use cases You can create so many different types of prototypes with variables – continue on to the next article to see more examples of how to use them to share information between screens, define conditional content, and build automatic countdown timers. This event copies the variable’s value and paste it onto the text element when you click on it during simulation. Click to the ‘Variables’ tab in the Canvas preview and drag the variable from the list to the open space in the expression.Below, click on the ‘Calculated’ radio button and the ‘Add expression’ text link to open the Value Expression builder.You’ll see a Canvas preview where you can select the text element as the target of the action.Select an On Page Load trigger and a Set Value action for the event.Go to the Events palette and click ‘Add event’.Select the element you’d like to show the variable’s value.The Events Palette: you may want an element to display the variable’s value after doing something else on the screen first, like tapping on some text.Drag variable to element This will create an On Page Load + Set Value event automatically, which transfers whatever’s stored in the variable to the text element on this screen. Drag and drop: drag the variable from the Variable’s palette to the text element on the Canvas.You can give that text element the variable’s value in two ways: ![]() As an example, you can select a Text T element you’ve added on the Canvas. Go to another screen in your prototype and select the element you’d like to display the variable’s value. Now that you’ve defined a value for the variable, you can move the variable’s value to an element on another screen. This event transfers whatever’s entered in the input text field over to the variable when you click out of the input text field.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |