How to use the etch.destroy function in etch

To help you get started, we’ve selected a few etch 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 maisk / atom-psql / lib / variables-view.js View on Github external
destroy() {
    // console.log('DESTROY variables', this.now);
    this.liveFlag = false;
    etch.destroy(this);
    this.disposables.dispose();
  }
github danielbrodin / atom-project-manager / lib / views / EditView.js View on Github external
async destroy() {
    const pane = atom.workspace.paneForURI(EDIT_URI);
    if (pane) {
      const item = pane.itemForURI(EDIT_URI);
      pane.destroyItem(item);
    }

    disposables.dispose();
    await etch.destroy(this);
  }
github atom / image-view / lib / image-editor-view.js View on Github external
destroy () {
    this.disposables.dispose()
    this.emitter.dispose()
    etch.destroy(this)
  }
github yianL / atom-spotified / src / views / atom-spotified-view.js View on Github external
async destroy () {
    await etch.destroy(this)
    this.subscriptions.dispose()
  }
}
github JunoLab / atom-ink / lib / util / etch.js View on Github external
    destroy() { return etch.destroy(this); }
  };
github thomasjo / atom-latex / lib / views / log-dock.js View on Github external
async destroy () {
    this.disposables.dispose()
    await etch.destroy(this)
  }

etch

Perform virtual DOM updates based on changes to a data model.

MIT
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis