i

Please enable JavaScript to view this site.

Documentation 8.7

Access methods are used to retrieve items or access specific functionalities.

 

Class methods are specific to each element, facilitating their management and incorporating their own behavior.

Access Method

 

 

Name

Description

Result

$d.getVariable(idVariable)

Searches the interface for a variable by identifier.
 
Parameter

String idVariable: Variable identifier

Variable

Class Methods

 

 

Name

Description

Result

getValue(description)

Returns the value of the variable. If the variable has no value, it returns its initial value.

 

Parameter

Boolean description (Optional): Returns if the variable description is taken into account

 

Example:

 

$d.getVariable(“variable name”).getValue()

String | Number | Boolean

setValue(value)

Sets the value of the variable.

 

Parameter

String | Number | Boolean value: Value to assign to the variable

 

Example:

 

$d.getVariable(“variable name”).setValue(“Argentina”)

-

Send us your comments
Share on X Share on Linkedin Send by Email Print