UNPKG

@jbrowse/core

Version:

JBrowse 2 core libraries used by plugins

19 lines (18 loc) 641 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const PluggableElementBase_1 = __importDefault(require("./PluggableElementBase")); class TrackType extends PluggableElementBase_1.default { constructor(stuff) { super(stuff); this.displayTypes = []; this.stateModel = stuff.stateModel; this.configSchema = stuff.configSchema; } addDisplayType(display) { this.displayTypes.push(display); } } exports.default = TrackType;