๐Ÿ™‹โ€โ™€๏ธ Image magic animation drawing effect component for Vue 2.x | ๅ›พๅƒๅŠจๆ€็ป˜ๅˆถๆ•ˆๆžœ

Overview

vue-image-painter

English | ็ฎ€ไฝ“ไธญๆ–‡

๐ŸŒฐ Example

Demo

Demo Source Code

๐Ÿš€ QuickStart

  1. Install
yarn add vue-image-painter # OR npm i -S vue-image-painter
  1. Import
// main.js
import ImagePainter from 'vue-image-painter'
Vue.use(ImagePainter)
  1. Usage. Please refer to the Demo Source Code
<ImagePainter :src="https://www.images.com/a.jpg"></ImagePainter>

๐Ÿ”Œ API

Props

Name Description Type Default
src image URL. local images must be used require('') String undefined
alt image alt String undefined
animation animation effect. optional key: 'draw'๏ผŒ'blur' String 'draw'
duration animation duration. unit: ms Number 4000
immediate display images and animations immediately, don't wait for the image to load Boolean false

Events

Name Description Parameters
loadStart image load start null
loadEnd image load end null

Slots

Name Description
default The content ImagePainter displays, before the image is loaded

๐Ÿ˜‰ ๐Ÿ˜˜ If it is helpful to you๏ผŒplease encourage me with a โญ๏ธ Star ~

Inspiration

Changelog

License

MIT

Copyright (c) 2018-present, momoko

You might also like...
A Vue component for magnifying an image within its original container.

A Vue component for magnifying an image within its original container. The zoom behavior is triggered on click and the image can be moved by dragging on touch devices and by either dragging or hover panning on non-touch devices. The component supports responsive images and optional fullscreen zoom on mobile.

Lightweight responsive image zoom component for Vue.js 2

Vue Image Zoomer Lightweight responsive image zoom component for Vue.js 2, that also works on touch devices. Perfect for zooming on product images on

Vue plugin with simple component for choosing image

vue-image-chooser This is vue plugin with simple component for choosing image. It supports easy implementation for image upload to the backend. Instal

Lightweight and simple image gallery component for Vue.js
Lightweight and simple image gallery component for Vue.js

vue-image-box Description Lightweight and simple-ish image gallery component for Vue.js. Images can also be cycled through using the left & right arro

Lingallery is a simple image gallery component for Vue.js
Lingallery is a simple image gallery component for Vue.js

Lingallery is a simple image gallery component for Vue.js. It displays a large image with thumbnails below as you can see in the demo. You can define several settings to adapt the gallery to your needs.

Image viewer component for vue, supports rotation, scale, zoom and so on, based on viewer.js

v-viewer Image viewer component for vue, supports rotation, scale, zoom and so on, based on viewer.js Live demo Examples directive component thumbnail

A lightweight image, video and iframe lightbox gallery component for Vue
A lightweight image, video and iframe lightbox gallery component for Vue

A lightweight image, video and iframe lightbox gallery component for Vue. Supports slide, zoom, rotation, autoplay, captions and so on.

Cocomaterial Image component for Vue.js
Cocomaterial Image component for Vue.js

Cocomaterial Image component for Vue.js. Try the demo! Installation yarn add vue-cocomaterial-image Usage import CocomaterialImage from 'vue-cocomater

๐Ÿ” Vue image zoom component
๐Ÿ” Vue image zoom component

vue-magnifier This is a Vue 3 adaptation of react-magnifier, which is the original version. Someone else made a Svelte version, called svelte-magnifie

Comments
  • chore(deps): bump lodash.template from 4.4.0 to 4.5.0

    chore(deps): bump lodash.template from 4.4.0 to 4.5.0

    Bumps lodash.template from 4.4.0 to 4.5.0.

    Commits
    • ab73503 Bump to v4.5.0.
    • a4f7d4c Rebuild lodash and docs.
    • cca5ac6 Fix npm-test by removing the call to test-docs.
    • 9f7f9fc Adjust heading order. [ci skip]
    • 6e2fb92 Remove unused baseArity.
    • 4f702e2 Specify utf8 encoding.
    • b188f90 Add fp tests for iteratee shorthands.
    • 7b93dc9 Ensure clone methods clone expando properties of boolean, number, & string ob...
    • 664d66a Make string tests more consistent.
    • d9dc0e6 Add _.invertBy tests.
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
A Vue component for showing loader during image loading https://john015.github.io/vue-load-image/

English | ํ•œ๊ตญ์–ด Vue-load-image Vue-load-image is 1KB(gzipped size) minimalist Vue component that display loader during image loading and display alterna

Sangwon Lee 60 Dec 7, 2022
๐ŸŒˆ A Vue image component. Simple realization of image shadow.

?? vue-image-shadow A Vue image component. Simple realization of image shadow. ?? Example Online: https://image-component.github.io/vue-image-shadow/

null 21 Aug 13, 2022
Vue-image-loader: image loader for vue js with prevue

Vue-image-loader: image loader for vue js with prevue

null 0 Feb 1, 2020
vue-image-markup will provide you to edit uploaded image easily and save it.

Markup Image with Vue.js (customizable) vue-image-markup will provide you to edit uploaded image easily and save it. Installation npm i vue-image-mark

Lionix 92 Dec 9, 2022
A Directive for setting fall back image in a vue js application if in case image is not loaded

vue-fall-back-image-directive A Directive for setting fall back image in a vue js application. Installation npm install Run npm install --save vue-fal

Arun sivan 1 Oct 15, 2019
A Vue.js 3.0 image lightbox component with Zoom / Drag / Rotate / Switch .

A Vue.js 3.0 image lightbox component with Zoom / Drag / Rotate / Switch .

XiongAmao 272 Jan 3, 2023
Imagvue is an image component for Vue.js

Imagvue Imagvue provides basic image processing props(size,blur,contrast,grayscale, etc.). Support image lazy loading. All Attributes can bind with da

Willy Hong 266 Dec 23, 2022
Image viewer component for vue, supports rotation, scale, zoom and so on, based on viewer.js

Image viewer component for vue, supports rotation, scale, zoom and so on, based on viewer.js

mirari 2.1k Dec 27, 2022
๐ŸŒ‰ Vue Image Placeholder component

Vue Image Placeholder ?? Multiservice Image Placeholder Vue component Installation yarn add vue-image-placeholder Use it in your app import ImagePlace

Andrea Stagi 5 Aug 19, 2021
A Vue.js component to lazy load an image automatically when it enters the viewport using the Intersection Observer API.

A Vue.js component to lazy load an image automatically when it enters the viewport using the Intersection Observer API.

Alex Jover 864 Dec 9, 2022