UNPKG

@quartic/bokehjs

Version:

Interactive, novel data visualization

36 lines (24 loc) 956 B
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 { ButtonTool, ButtonToolView } from "../button_tool"; export var InspectToolView = (function(superClass) { extend(InspectToolView, superClass); function InspectToolView() { return InspectToolView.__super__.constructor.apply(this, arguments); } return InspectToolView; })(ButtonToolView); export var InspectTool = (function(superClass) { extend(InspectTool, superClass); function InspectTool() { return InspectTool.__super__.constructor.apply(this, arguments); } InspectTool.prototype.event_type = "move"; InspectTool.override({ active: true }); return InspectTool; })(ButtonTool);