UNPKG

@jbrowse/plugin-linear-genome-view

Version:

JBrowse 2 linear genome view

20 lines (19 loc) 803 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = FeatureTrackF; const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes"); const configSchema_1 = __importDefault(require("./configSchema")); function FeatureTrackF(pm) { pm.addTrackType(() => { const configSchema = (0, configSchema_1.default)(pm); return new pluggableElementTypes_1.TrackType({ name: 'FeatureTrack', displayName: 'Feature track', configSchema, stateModel: (0, pluggableElementTypes_1.createBaseTrackModel)(pm, 'FeatureTrack', configSchema), }); }); }