UNPKG

basicprimitives

Version:

Basic Primitives Diagrams for JavaScript - data visualization components library that implements organizational chart and multi-parent dependency diagrams, contains implementations of JavaScript Controls and PDF rendering plugins.

58 lines (51 loc) 796 B
/** * @class EventArgs * * Context object */ export default function FamEventArgs() { /** * Current item * * @type {string} */ this.oldContext = null; /** * New item * * @type {string} */ this.context = null; /** * Parent items * * @type {string[]} * @ignore */ this.parentItems = []; /** * Child items * * @type {string[]} * @ignore */ this.childrenItems = []; /** * Node position on the diagram. * * @type {Rect} */ this.position = null; /** * Relative object name. * * @type {string} */ this.name = null; /** * If true cancels subsequent event and layout update. * * @type {boolean} */ this.cancel = false; };