1.0.0 • Published 12 months ago

@tamnt-work/vue-image-color v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

Image Color

Fill color for image

Installation

Use the package manager NodeJS to install vue-image-color.

yarn add @tamnt-work/vue-image-color

Usage

Use global

import Vue from "vue";
import ImageColor from "@tamnt-work/vue-image-color";

Vue.use(ImageColor);

OR

Use local

import ImageColor from "@tamnt-work/vue-image-color";

export default {
  components: {
    ImageColor,
  },
};

Use on vue

<image-color src="https://i.ibb.co/FhZb3Xs/CJcLK.png" color="red" width="50px" height="50px" alt="" />

Props

color

Color want fill

  • String

src

Path to image

  • String

alt

alt properties img tag

  • String

width

Width of image

  • String

height

Height of image

  • String

Contributing

contact@tamnt.work

License

MIT

1.0.0

12 months ago