How to use the scrivito.Link 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 / LinkContainerWidget / LinkContainerWidgetEditingConfig.js View on Github external
title =>
        new LinkWidget({
          link: new Scrivito.Link({ title, url: 'https://scrivito.com', target: '_blank' }),
        })
    ),
github Scrivito / scrivito_example_app_js / src / Widgets / PricingWidget / PricingWidgetEditingConfig.js View on Github external
currency: '€',
    smallPlanName: 'Basic Plan',
    mediumPlanName: 'Team Plan',
    largePlanName: 'Corporate Plan',
    smallPlanPrice: '20',
    mediumPlanPrice: '30',
    largePlanPrice: '40',
    smallPlanPeriod: '/mo',
    mediumPlanPeriod: '/mo',
    largePlanPeriod: '/mo',
    smallPlanSpecs: [new PricingSpecWidget({ variable: '5', unit: 'projects' })],
    mediumPlanSpecs: [new PricingSpecWidget({ variable: '15', unit: 'projects' })],
    largePlanSpecs: [new PricingSpecWidget({ variable: 'unlimited', unit: 'projects' })],
    smallPlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
    mediumPlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
    largePlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
  },
});
github Scrivito / scrivito_example_app_js / src / Widgets / PricingWidget / PricingWidgetEditingConfig.js View on Github external
initialContent: {
    currency: '€',
    smallPlanName: 'Basic Plan',
    mediumPlanName: 'Team Plan',
    largePlanName: 'Corporate Plan',
    smallPlanPrice: '20',
    mediumPlanPrice: '30',
    largePlanPrice: '40',
    smallPlanPeriod: '/mo',
    mediumPlanPeriod: '/mo',
    largePlanPeriod: '/mo',
    smallPlanSpecs: [new PricingSpecWidget({ variable: '5', unit: 'projects' })],
    mediumPlanSpecs: [new PricingSpecWidget({ variable: '15', unit: 'projects' })],
    largePlanSpecs: [new PricingSpecWidget({ variable: 'unlimited', unit: 'projects' })],
    smallPlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
    mediumPlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
    largePlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
  },
});
github Scrivito / scrivito_example_app_js / src / Widgets / PricingWidget / PricingWidgetEditingConfig.js View on Github external
properties: ['currency', 'smallPlanButton', 'mediumPlanButton', 'largePlanButton'],
  initialContent: {
    currency: '€',
    smallPlanName: 'Basic Plan',
    mediumPlanName: 'Team Plan',
    largePlanName: 'Corporate Plan',
    smallPlanPrice: '20',
    mediumPlanPrice: '30',
    largePlanPrice: '40',
    smallPlanPeriod: '/mo',
    mediumPlanPeriod: '/mo',
    largePlanPeriod: '/mo',
    smallPlanSpecs: [new PricingSpecWidget({ variable: '5', unit: 'projects' })],
    mediumPlanSpecs: [new PricingSpecWidget({ variable: '15', unit: 'projects' })],
    largePlanSpecs: [new PricingSpecWidget({ variable: 'unlimited', unit: 'projects' })],
    smallPlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
    mediumPlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
    largePlanButton: new Scrivito.Link({ title: 'Buy now', url: 'https://scrivito.com' }),
  },
});

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

Package Health Score

68 / 100
Full package analysis