How to use the scrivito.navigateTo function in scrivito

To help you get started, we’ve selected a few scrivito 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 Scrivito / scrivito_example_app_js / src / Objs / SearchResults / SearchInput.js View on Github external
handleSubmit(event) {
    event.preventDefault();
    event.stopPropagation();
    Scrivito.navigateTo(() => Scrivito.currentPage(), { q: this.state.q });
  }
}
github Scrivito / scrivito_example_app_js / src / Components / Navigation / Search.js View on Github external
handleSubmit(event) {
      event.preventDefault();
      event.stopPropagation();
      Scrivito.navigateTo(oldestSearchResultsPage, { q: this.state.q });
      this.setState({ q: "" });
      this.props.toggleSearch();
    }
  }
github Scrivito / scrivito_example_app_js / src / Objs / SearchResults / SearchResultsTagList.js View on Github external
setTag={newTag => {
        const newParams = { q: params.q };
        if (newTag) {
          newParams.tag = newTag;
        }

        Scrivito.navigateTo(() => Scrivito.currentPage(), newParams);
      }}
      currentTag={params.tag}
github Scrivito / scrivito_example_app_js / src / utils / navigateToBlogWithTag.js View on Github external
function navigateToBlogWithTag(tag) {
  const params = {};
  if (tag) {
    params.tag = tag;
  }

  Scrivito.navigateTo(() => Scrivito.Obj.getByPermalink("blog"), params);
}

scrivito

Scrivito is a professional, yet easy to use SaaS Enterprise Content Management Service, built for digital agencies and medium to large businesses. It is completely maintenance-free, cost-effective, and has unprecedented performance and security.

LGPL-3.0
Latest version published 12 days ago

Package Health Score

68 / 100
Full package analysis