A process to define a variable to access with in the action specified with the desired data types. The values can be assigned from controls,models,static or any other variables in the page.
Smart code
Syntax
Add Variable(Variable Name, Data Type,Default Value)
Parameters
- Variable Name(Required) – Name of the variable to store the length of the given string.
- Data Type (Required) – operate on variables
Direct Code
Syntax
try {
var <<Variable Name>> = Orefuncs.OreDataValidate(<<Defualt Value>>);
}
catch(ex) {
OreAlert.alert(ex.message);
}
this.setState({ spinner: false });