Dispatched events now have a value
that represents the new value, and an oldValue
for the old value.
defineMap.listenTo("prop", (ev) => {
console.log("New value", ev.value, "Old value", ev.oldValue);
});
Dispatched events now have a value
that represents the new value, and an oldValue
for the old value.
defineMap.listenTo("prop", (ev) => {
console.log("New value", ev.value, "Old value", ev.oldValue);
});