New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vuc-image

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuc-image

A vue-canvas effects components

latest
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

vuc-image

Install

    npm install --save vuc-image
    
    yarn add vuc-image

Basic use

    全局
    
    import vucImage from 'vuc-image'
    Vue.use(vucImage)
    
    局部
    import {vucImage} from 'vuc-image'
    export default {
      components: {vucImage}
    }
    

全局属性方法

属性类型默认值说明
typestringblur图像模式 (blur inverse blackWhite monochrome prints blur watermark cameo)
modestringredmonochrome模式下的色值选择(red green blue
tonenumber126prints 模式下对比值
imgageModebooleanfalse图像模式
Hnumber300
Wnumber600
waterTextstringloo41watermark模式下的水印文字
waterLocationarray[30, 100]watermark模式文字的起始坐标
fontstring30px Georgiawatermark模式文字样式
fontColorstringwhitewatermark模式文字颜色
cameoConstnumber128cameo 模式下对比值
imgUrlArray[]图片只取第一张
clickfun图片点击事件

欢迎 pr issues star

Keywords

vue

FAQs

Package last updated on 26 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts