Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eucalyptusvc/klaviyo-signup-form

Package Overview
Dependencies
Maintainers
7
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eucalyptusvc/klaviyo-signup-form

Klaviyo Signup Form Vue component

  • 0.4.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
7
Weekly downloads
 
Created
Source

@eucalyptusvc/klaviyo-signup-form

code style: prettier

Klaviyo Signup Form Vue component

Setup

Install with yarn:

yarn add @eucalyptusvc/klaviyo-signup-form

Install with npm:

npm install @eucalyptusvc/klaviyo-signup-form

Usage

Basic

<template>
  <section class="awesome">
    <klaviyo-signup-form
      endpoint="https://lambdafunction/klaviyo/signup"
      klaviyoListId="listId"
      placeholder="you@awesome.com"
      button-text="Signup"
      :input-classes="['is-medium']"
      :button-classes="['is-medium']"
      @success="handleSuccess"
      @error="handleError"
    />
  </section>
</template>

<script lang="ts">
import { Prop, Component, Vue } from 'vue-property-decorator';
import KlaviyoSignupForm from '@eucalyptusvc/klaviyo-signup-form';

@Component({
  components: {
    KlaviyoSignupForm,
  },
})
export default class Awesome extends Vue {}
</script>

With Slot Scope

<template>
  <section class="awesome">
    <klaviyo-signup-form
      endpoint="https://lambdafunction/klaviyo/signup"
      klaviyoListId="listId"
      placeholder="you@awesome.com"
      button-text="Signup"
      :input-classes="['is-medium']"
      :button-classes="['is-medium']"
      @success="handleSuccess"
      @error="handleError"
    >
      <template #input="{ email, placeholder, inputClasses, isLoading, handleSubmit }">
        <!-- Replace the input, ^ available props -->
      </template>

      <template #submit="{ handleSubmit, isLoading, buttonClasses }">
        <!-- Replace the input, ^ available props -->
      </template>
    </klaviyo-signup-form>
  </section>
</template>

<script lang="ts">
import { Prop, Component, Vue } from 'vue-property-decorator';
import KlaviyoSignupForm from '@eucalyptusvc/klaviyo-signup-form';

@Component({
  components: {
    KlaviyoSignupForm,
  },
})
export default class Awesome extends Vue {}
</script>

FAQs

Package last updated on 12 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc