New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cloudsponge-vue

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudsponge-vue

Vue component to launch the Cloudsponge address book

0.0.4
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

cloudsponge-vue

Installation

yarn add cloudsponge-vue

or

npm i --save cloudsponge-vue

Props

  • apiKey
    • Cloudsponge API Key
    • https://www.cloudsponge.com/developer/getting-started/
  • afterSubmit
    • Callback function when contacts have been submitted
  • config

Usage

main:

import Cloudsponge from 'cloudsponge-vue';
Vue.use(Cloudsponge);

view:

<template>
  <div>
    <CloudspongeVue apiKey="my-api-key" :afterSubmit="submittedContacts">
      <button>Open address book</button>
    </CloudspongeVue>
  </div>
</template>

<script lang="ts">
import Vue from 'vue';

export default Vue.extend({
  name: 'MyComponent',
  methods: {
    submittedContacts(a) {
      console.log('Got contacts');
    }
  }
});
</script>

FAQs

Package last updated on 07 Aug 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