Socket
Book a DemoInstallSign in
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
Package was removed
Sorry, it seems this package was removed from the registry

@eucalyptusvc/klaviyo-signup-form

Klaviyo Signup Form Vue component

0.4.2
unpublished
latest
Source
npmnpm
Version published
Maintainers
7
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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.