@salamander.be/vue-image-previewer
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -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/*", |
@@ -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> | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
0
261526
66