Skip to content

Conversation

@ioanmolnar
Copy link

@ioanmolnar ioanmolnar commented Jul 13, 2024

If necessary, check changes to objects using a validator. The validator function must return the value true or false.

Example:

var test = {};
var p = ObservableSlim.create(test, true,
function(changes) {
console.log(JSON.stringify(changes));
},
function(changing) {
console.log(JSON.stringify(changing));
let result = false;
// ... check or validate
return result;
});

If necessary, check changes to objects using a validator. The validator function must return the value true or false.
@ElliotNB ElliotNB force-pushed the master branch 2 times, most recently from f83c25f to a6f7d90 Compare November 2, 2025 23:13
@ElliotNB
Copy link
Owner

ElliotNB commented Dec 4, 2025

@ioanmolnar Closing for now due to the drift and merge conflicts, but please feel free to re-open!

@ElliotNB ElliotNB closed this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants