From bf0fc7966d18e3d85aa7ac4b495652b879569bc4 Mon Sep 17 00:00:00 2001 From: Hassaan Akbar Date: Fri, 4 Aug 2023 07:43:59 +0500 Subject: [PATCH] updated readme and demos --- README.md | 30 +- docs/package.json | 2 +- docs/src/.vuepress/.cache/deps/_metadata.json | 20 +- .../src/.vuepress/.cache/deps/vue-zoomable.js | 674 ++++++++++++++++++ .../.vuepress/.cache/deps/vue-zoomable.js.map | 7 + docs/src/.vuepress/.temp/internal/siteData.js | 13 + .../src/.vuepress/.temp/internal/themeData.js | 13 + docs/src/.vuepress/.temp/pages/404.html.js | 13 + .../.temp/pages/demos/html-demo.html.js | 13 + .../.vuepress/.temp/pages/demos/index.html.js | 13 + .../.temp/pages/demos/svg-demo.html.js | 13 + .../.vuepress/.temp/pages/guide/index.html.js | 13 + docs/src/.vuepress/.temp/pages/index.html.js | 13 + docs/src/.vuepress/components/HtmlDemo.vue | 205 +++++- docs/src/.vuepress/components/SvgDemo.vue | 207 +++++- package.json | 16 +- src/components/VueZoomable.vue | 2 +- src/composables/useWheel.ts | 3 +- src/examples/svg_example.vue | 9 +- src/index.ts | 1 - vite.config.ts | 3 +- 21 files changed, 1176 insertions(+), 107 deletions(-) create mode 100644 docs/src/.vuepress/.cache/deps/vue-zoomable.js create mode 100644 docs/src/.vuepress/.cache/deps/vue-zoomable.js.map diff --git a/README.md b/README.md index a77e99d..8865ba4 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,17 @@ -# vue-zoomable-cute +# vue-zoomable Tiny and high performance zoom and pan library for Vue 3. It uses CSS Transforms which provides hardware acceleration. Checkout the [demos](https://hassaanakbar.github.io/vue-zoomable/demos/). -## Why the fork? - -Because I wanna have more controll!! - -> _laughs in an evil manner_ - -xD - -I will still make pr for changes though. - ## Installation -```sh -npm install vue-zoomable-cute -# or -yarn add vue-zoomable-cute -``` +`npm install vue-zoomable` ## Usage Immediate child of VueZoomable must be either svg or an html container. - ```vue