UNPKG

@jbrowse/core

Version:

JBrowse 2 core libraries used by plugins

13 lines (12 loc) 443 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class PluggableElementBase { constructor(args) { this.name = (args === null || args === void 0 ? void 0 : args.name) || 'UNKNOWN'; this.maybeDisplayName = args === null || args === void 0 ? void 0 : args.displayName; } get displayName() { return this.maybeDisplayName || this.name; } } exports.default = PluggableElementBase;