Gathering detailed insights and metrics for v3-colorpicker-vn
Gathering detailed insights and metrics for v3-colorpicker-vn
Gathering detailed insights and metrics for v3-colorpicker-vn
Gathering detailed insights and metrics for v3-colorpicker-vn
npm install v3-colorpicker-vn
Typescript
Module System
Node Version
NPM Version
61.5
Supply Chain
99.1
Quality
82.9
Maintenance
100
Vulnerability
100
License
Vue (51.8%)
SCSS (24.92%)
TypeScript (16.62%)
JavaScript (3.47%)
MDX (2.83%)
HTML (0.35%)
Total Downloads
1,069
Last Day
1
Last Week
2
Last Month
23
Last Year
1,069
1 Stars
52 Commits
1 Watching
2 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.13
Package Id
v3-colorpicker-vn@1.0.13
Unpacked Size
575.41 kB
Size
104.07 kB
File Count
58
NPM Version
9.5.1
Node Version
18.16.0
Publised On
12 Apr 2024
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-66.7%
2
Compared to previous week
Last month
-4.2%
23
Compared to previous month
Last year
0%
1,069
Compared to previous year
2
24
You are visiting Vue3 ColorPicker Vietnamese now!
1npm install v3-colorpicker-vn
or
1yarn add v3-colorpicker-vn
1import "v3-colorpicker-vn/dist/v3-colorpicker-vn.css";
1<script setup lang="ts"> 2 import { ref } from "vue"; 3 import { 4 VuColorPicker, 5 VuColorCustom, 6 VuProgressInput, 7 VuColorPickerPick, 8 VuColorBg, 9 VuColorPickerBg 10 } from "v3-colorpicker-vn"; 11 12 const progressValue = ref<number>(100); 13 const colorValue = ref<string>("#000000"); 14 const colorBackground = ref<string>("linear-gradient(90deg, rgba(145, 133, 122, 1) 0%, rgba(242, 222, 204, 1) 100%)"); 15</script> 16 17<template> 18 <div class="wrapper"> 19 <div class="lib-item"> 20 <div class="title">ColorPicker</div> 21 <VuColorPicker v-model:value="colorValue" /> 22 </div> 23 24 <div class="lib-item"> 25 <div class="title">ColorCustom</div> 26 <VuColorCustom v-model:value="colorValue" /> 27 </div> 28 29 <div class="lib-item"> 30 <div class="title">ColorBackground</div> 31 <VuColorBg v-model:value="colorBackground" /> 32 </div> 33 34 <div class="lib-item"> 35 <div class="title">ProgressInput</div> 36 <VuProgressInput v-model:value="progressValue" /> 37 <div class="title">ColorPickerPick</div> 38 <VuColorPickerPick v-model:value="colorValue" /> 39 <div class="title"> 40 ColorPickerPick <br /> 41 (option has more) 42 </div> 43 <VuColorPickerPick v-model:value="colorValue" :more="true" /> 44 <div class="title">ColorPickerBg</div> 45 <VuColorPickerBg v-model:value="colorBackground" /> 46 47 <div class="title"> 48 ColorPickerBg <br /> 49 (option has more) 50 </div> 51 <VuColorPickerBg v-model:value="colorBackground" :more="true" /> 52 </div> 53 </div> 54 55 <div class="test-title">Color, Background display</div> 56 <div class="background"> 57 <div :style="{ background: colorValue }"></div> 58 <div :style="{ background: colorBackground }"></div> 59 </div> 60 61 <div class="test-title">Code in view</div> 62 <img src="./assets/demo.png" alt="demo" width="1006px" /> 63</template>
you can install it same as plugin in main.ts
1import ColorPicker from "v3-colorpicker-vn"; 2 3app.use(ColorPicker);
or install some components of it
1import { ColorPicker } from "v3-colorpicker-vn"; 2 3app.use(ColorPicker); // it's VuColorPicker
Lưu Công Quang Vũ From Vietnamese
No vulnerabilities found.
No security vulnerabilities found.