sb.setData

sb.setData(object)

Sets one or more items in the Storyboard application's data manager.  Each key and value in the object passed in will be set in the data manager using the key name as the key.

Parameters:     
    object - An object containing the variable or variables to change as the key and the value to change it to as that key's value

Example:

function js_func(context) {    
    var data_array  = {};    
    data_object[variable_name] = "variable data";    
    sb.setData(data_array);
}
Was this article helpful?
0 out of 0 found this helpful