@quartic/bokehjs
Version:
Interactive, novel data visualization
27 lines (18 loc) • 826 B
text/typescript
var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
import {
ColumnDataSource
} from "./column_data_source";
import * as p from "core/properties";
export var RemoteDataSource = (function(superClass) {
extend(RemoteDataSource, superClass);
function RemoteDataSource() {
return RemoteDataSource.__super__.constructor.apply(this, arguments);
}
RemoteDataSource.prototype.type = 'RemoteDataSource';
RemoteDataSource.define({
data_url: [p.String],
polling_interval: [p.Number]
});
return RemoteDataSource;
})(ColumnDataSource);