Open jeron-diovis opened 8 years ago
I had the same problem, but i used this:
rome(document.querySelector('#date').on('data', function (value) {
console.log(value);
});
I find ,the correct statement is blow:
rome(document.querySelector('#date')).on('data', function (value) {console.log(value);});
simple
var test=rome(dom_id); test.on('data',function (d) { alert(d); })
`
All existing events are triggered when value "may have been updated". How do I know that value is actually changed? For now I'm tracking previous value myself and compare values on "data" event, this is extremely inconvenient.