@jbrowse/plugin-linear-genome-view
Version:
JBrowse 2 linear genome view
19 lines (18 loc) • 753 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = BasicTrackF;
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
const configSchema_1 = __importDefault(require("./configSchema"));
function BasicTrackF(pm) {
pm.addTrackType(() => {
const configSchema = (0, configSchema_1.default)(pm);
return new pluggableElementTypes_1.TrackType({
name: 'BasicTrack',
configSchema,
stateModel: (0, pluggableElementTypes_1.createBaseTrackModel)(pm, 'BasicTrack', configSchema),
});
});
}