robotvorti.blogg.se

Protopie slider
Protopie slider








protopie slider

Manipulating variable values dynamically (throughout the course of the prototype’s play) advances your prototype’s interaction by making it react to events based on conditional logic in a simple and straightforward way. The ‘Evaluate’ option (seen in the image below) is needed if the variable’s value is given through an expression (see Advanced section below), in order to evaluate it before it’s used. More specifically, once your variable is created, you can assign a value either upon creation (via Variable Manager), or at any other point in your prototype (through the Interaction Modal -> Set Variable) and then be able to read that value by referring to that variable. Variables are used whenever a value must be stored so that it can affect the User Interface in some way at some point. Variable types can be numeric, text, or boolean. Variables can only hold one value at a time and you can optionally give them initial values upon definition. Variables' names have to be unique, using alphanumeric characters, and should ideally reflect the variable’s purpose.

protopie slider

Variables are managed within the Editor under “Variables Manager”. Variables are global within your project, meaning that you can use them throughout your prototype. For example, you can store the contents of an input box in a variable, and later set the text of a label using the value of that variable. In Proto.io, “variables” is a mechanism with which you can store and reuse user-defined values (numbers, text etc).










Protopie slider