Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
@condebiel/vue-zendesk
Advanced tools
This repo is a fork of @dansmaculotte/vue-zendesk. Please visit the original repo to be up to date.
Zendesk Web Widget Documentation
@dansmaculotte/vue-zendesk
dependency with yarn
or npm
to your projectimport Vue from 'vue'
import Zendesk from '@dansmaculotte/vue-zendesk'
Vue.use(Zendesk, {
key: 'YOUR_ZENDESK_KEY',
disabled: true,
hideOnLoad: true,
settings: {
webWidget: {
color: {
theme: '#78a300'
}
}
}
})
disabled
disabled
option allows you to prevent automatic script loading, to comply with GDPR.
You can manually load it by calling this.$zendesk.load(YOUR_ZENDESK_KEY)
.
hideOnLoad
When Zendesk Web Widget is initialized it automatically shows the widget, to prevent this you can set to true
this option so you can manually show it after.
settings
You can view Zendesk Web Widget available settings here.
You can use any method coming from the official documentation.
Every methods are accessible from $zendesk
object.
For example:
Vue.$zendesk.hide()
// In a vue component
this.$zendesk.show()
You can also listen to loaded
event emitted on script load, open
on widget open and close
on widget close.
For example:
this.$zendesk.$on('loaded', (event) => {
this.$zendesk.identify({
name: 'John'
})
})
this.$zendesk.$on('open', () => {
console.log('Widget is open')
})
this.$zendesk.$on('close', () => {
console.log('Widget is closed')
})
You can access to Zendesk Web Widget instance through this.$zendesk.zE
or window.zE
objects.
For example:
this.$zendesk.zE('webWidget', 'hide')
window.zE('webWidget', 'hide')
yarn install
or npm install
npm run dev
FAQs
Vue plugin for Zendesk Web Widget
The npm package @condebiel/vue-zendesk receives a total of 1 weekly downloads. As such, @condebiel/vue-zendesk popularity was classified as not popular.
We found that @condebiel/vue-zendesk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.