How to use the paraview-lite/src/stores/types.Actions.PROXY_DELETE function in paraview-lite

To help you get started, we’ve selected a few paraview-lite 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 Kitware / light-viz / src / proxyHelper.js View on Github external
deleteProxy() {
              if (!this.create) {
                this.$store.dispatch(Actions.PROXY_DELETE, this.activeSourceId);
                this.$store.commit(Mutations.PROXY_SELECTED_IDS_SET, []);
              } else {
                this.$store.dispatch(Actions.MODULES_ACTIVE_CLEAR);
              }
            },
            createProxy() {
github Kitware / light-viz / src / modules / Default / script.js View on Github external
deleteProxy() {
      const id = this.proxies[0];
      this.$store.dispatch(Actions.PROXY_DELETE, id);
      this.$store.commit(Mutations.PROXY_SELECTED_IDS_SET, []);
    },
  },