Lines changed
.onLinesChanged(locationId, callback)

Will execute callback function when lines in a location change. Callback function will be executed with a list of lines as an only argument.

Example

Qminder.events.onLinesChanged(54, function(lines) {
  console.log("Lines: ", lines);
});