How to use the table-js/lib/components.inject function in table-js

To help you get started, we’ve selected a few table-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bpmn-io / dmn-js / packages / dmn-js-decision-table / src / features / decision-table-head / editor / components / OutputCellContextMenu.js View on Github external
constructor(props, context) {
    super(props, context);

    this.state = {};

    inject(this);

    this.persistChanges = this.debounceInput(this.persistChanges);
  }
github bpmn-io / dmn-js / packages / dmn-js-decision-table / src / features / decision-table-head / editor / components / InputCellContextMenu.js View on Github external
constructor(props, context) {
    super(props, context);

    this.state = {};

    inject(this);

    this.persistChanges = this.debounceInput(this.persistChanges);

    this._expressionLanguages = context.injector.get('expressionLanguages');
  }
github bpmn-io / dmn-js / packages / dmn-js-decision-table / src / features / add-rule / components / AddRuleFootComponent.js View on Github external
constructor(props, context) {
    super(props, context);

    inject(this);

    this.addRule = this.addRule.bind(this);
  }
github bpmn-io / dmn-js / packages / dmn-js-shared / src / components / InputSelect.js View on Github external
constructor(props, context) {
    super(props, context);

    inject(this);

    const { value } = props;

    this.state = {
      value,
      optionsVisible: false
    };

    this._portalEl = null;
  }

table-js

> This library exposes [ES modules](http://exploringjs.com/es6/ch_modules.html#sec_basics-of-es6-modules). Use an ES module aware bundler such as [Webpack](https://webpack.js.org) or [Rollup](https://rollupjs.org) to bundle it for the browser.

MIT
Latest version published 2 months ago

Package Health Score

78 / 100
Full package analysis