Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
install (Vue, {name = 'viewer', debug = false, defaultOptions} = {}) {
Viewer.setDefaults(defaultOptions)
Vue.component(name, extend(Component, { name }))
Vue.use(directive, {name, debug})
},
setDefaults (defaultOptions) {
setDefaults (defaultOptions) {
Viewer.setDefaults(defaultOptions)
}
}