Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
picture-preview-vue
Advanced tools
picture-preview-vue
npm install --save picture-preview-vue
import PicturePreviewVue from 'picture-preview-vue'
// 预览单张图片
PicturePreviewVue('https://file.iviewui.com/images/image-demo-2.jpg')
// 预览多张图片
PicturePreviewVue({
url: 'https://file.iviewui.com/images/image-demo-2.jpg',
urlList: [
'https://file.iviewui.com/images/image-demo-1.jpg',
'https://file.iviewui.com/images/image-demo-2.jpg',
'https://file.iviewui.com/images/image-demo-3.jpg',
'https://file.iviewui.com/images/image-demo-4.jpg',
'https://file.iviewui.com/images/image-demo-5.jpg',
'https://file.iviewui.com/images/image-demo-6.jpg'
] // 当前图片所在列表
})
PicturePreviewVue 方法接收一个参数,字符串或对象:
预览时,可以使用键盘 ←、→ 切换图片,↑、↓ 缩放图片,Space 显示 1:1 图片,ESC 退出预览。
FAQs
The npm package picture-preview-vue receives a total of 2 weekly downloads. As such, picture-preview-vue popularity was classified as not popular.
We found that picture-preview-vue demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.