2.0.0 • Published 1 year ago

linkedin-pjp-widget-vue v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

linkedin-pjp-widget-vue

A vue component to implement LinkedIn PJP Widget in vue projects.

Installation

npm install linkedin-pjp-widget-vue

or

yarn add linkedin-pjp-widget-vue

Basic Usage

<template>
  <LinkedInPJPWidget
    :api-key="apiKey"
    @linkedin-pjp-confirmed="onLinkedInPJPConfirmed"
  />
</template>
<script>
import LinkedInPJPWidget from "linkedin-pjp-widget-vue";

export default {
  components: {
    LinkedInPJPWidget
  },
  data() {
    return {
      apiKey: ''
    }
  },
  methods: {
    onLinkedInPJPConfirmed(integrations) {
      /*
        Example of integrations:
        integrations: [{
          integrationContext: "urn:li:contract:430400943",
          integrationType: "PREMIUM_JOB_POSTING",
          onboardingStatus: "REQUESTED",
          tenantType: "JOBS",
        }]
      */
    }
  }
}
</script>

Development

npm run dev
2.0.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago