Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@salamander.be/vue-image-previewer

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salamander.be/vue-image-previewer - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

package.json

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "0.0.1",
"version": "0.0.2",
"private": false,

@@ -51,2 +51,6 @@ "main": "./dist/vue-image-previewer.common.js",

},
"repository": {
"type": "git",
"url": "https://github.com/salamanderbe/vue-image-previewer"
},
"files": [

@@ -53,0 +57,0 @@ "dist/*",

51

README.md

@@ -36,18 +36,18 @@ # Vue Image previewer

components: {
ImagePreviewer
ImagePreviewer
},
data() {
return {
// Example: A list of random images
images: [
'https://picsum.photos/500/600',
'https://picsum.photos/700/500',
'https://picsum.photos/800/600',
'https://picsum.photos/800/700',
'https://picsum.photos/900/500',
'https://picsum.photos/800/900',
'https://picsum.photos/700/900',
'https://picsum.photos/500/900',
]
}
return {
// Example: A list of random images
images: [
'https://picsum.photos/500/600',
'https://picsum.photos/700/500',
'https://picsum.photos/800/600',
'https://picsum.photos/800/700'
'https://picsum.photos/900/500',
'https://picsum.photos/800/900',
'https://picsum.photos/700/900',
'https://picsum.photos/500/900',
]
}
}

@@ -66,25 +66,2 @@ }

```
### Events
```vue
<template>
<kanban-board v-on:item-updated="handleItemUpdated" v-on:item-clicked="handleItemClicked" v-on:item-created="handleItemCreated"><kanban-board>
</template>
<script>
export default {
methods: {
handleItemUpdated(itemId, status, index) {
// Update code
},
handleItemClicked(item) {
// Clicked code
},
handleItemCreated(item) {
// Created code
}
}
}
</script>
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc