linkedin-pjp-widget-vue
v2.0.0
Published
LinkedIn PJP Widget Vue
Downloads
323
Readme
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