Set action for gaffa. Set a value into the model.
npm i gaffa-set
var Set = require('gaffa-set');
gaffa.regeisterConstructor(Set);
var set = new Set();
set.source.binding = '(+ [number] 1)';
set.target.binding = '[number]';
// Assign the set action to be triggered by another viewItem
The data to set
The location to set the data
Whether to clone the value or not. Set this to true if you dont want to pass objects by reference.
Whether to mark the target model location as clean.