How to use the scrivito.currentPageParams 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 / Widgets / BlogOverviewWidget / BlogOverviewWidgetComponent.js View on Github external
Scrivito.provideComponent("BlogOverviewWidget", ({ widget }) => {
  let { tag } = Scrivito.currentPageParams();

  const tags = widget.get("tags");
  if (!tag && tags.length) {
    tag = tags;
  }

  return (
    
  );
});

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 5 days ago

Package Health Score

68 / 100
Full package analysis