vue-caisson

0.1.1 • Public • Published

vue-caisson

Installation

npm install vue-caisson

Usage

<template>
  <div id="app">
    <CaissonIDCheck
      apiKey="your caisson public API key"
      appearance="dark"
      @idCheckCreated="created"
      @idCheckComplete="complete"
    ></CaissonIDCheck>
  </div>
</template>

<script>
import CaissonIDCheck from "vue-caisson";

export default {
  name: "App",
  components: {
    CaissonIDCheck
  },
  methods: {
    created(idCheck) {
      console.log("created", idCheck);
    },
    complete() {
      console.log("complete");
    }
  }
};
</script>

Props

props: {
  apiKey: String, // your Caisson public API key
  appearance: String, // "light" or "dark"
  customerID: String, // how your systems identify the customer.
}

Events

The component emits the following events

  • idCheckCreated
  • idCheckComplete

Readme

Keywords

none

Package Sidebar

Install

npm i vue-caisson

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

590 kB

Total Files

9

Last publish

Collaborators

  • kenlittle
  • pausantesmasses