المشاريع
عرض على GitHub
mirari/v-viewer
حول
عارض صور لـ Vue يتيح التكبير والتدوير واستخدام أشرطة أدوات مخصصة، ويعتمد على Viewer.js.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- -١
- خلال شهر
- +٢
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلv-viewer
An image viewer for Vue with zoom, rotation, image navigation and custom toolbars, powered by Viewer.js.
English documentation · 中文文档 · Live demo / 在线演示
Install
npm install v-viewer # Vue 3 (5.x)
npm install v-viewer@legacy # Vue 2 (4.x)
Supports Vue 3.0+ and Vue 2.4+. For upgrades from older major versions, see the Vue 3 migration guide or Vue 2 migration guide.
Viewer.js and its browser styles are included automatically.
Quick start
Vue 3.2+:
<script setup>
import { Viewer } from 'v-viewer'
const images = ['/photo.jpg']
</script>
<template>
<Viewer :toolbar="true">
<img v-for="src in images" :key="src" :src="src" alt="Gallery image" />
</Viewer>
</template>
For Vue 2, directives, API usage and more examples, see the Vue 3 guide or Vue 2 guide.
Star History
License
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…