Handle Results
<String> LViS.Prediction.ON_RESULTS
Notifies that current votes breakdown has arrived from the server and revealed. Actual results could be retrieved by calling getResults method.
Event is triggered only in case results have changed since last time it was fired.
element.on(LViS.Prediction.ON_RESULTS, function () {
console.log('Results: ', element.getResults());
});
Last modified 3yr ago