image-scaling_tiaozai

1.2.3 • Public • Published

Vue.js image scaling plug-in base on Element-UI framework

Installation

use npm : npm install image-scaling_tiaozai --save

prepare

1 install element-ui

npm install element-ui --save-dev

2 add element-ui to main.js or app.js

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

3 Usage
import Picture from "image-scaling_tiaozai";

<Picture :src="src"></Picture>
4 Attributes
parameter type describe Optional default
src String 图片路径 必须 ---
msg String 组件说明 可选 null
showTip Boolean 放大/缩小倍数是否显示 可选 false

Readme

Keywords

Package Sidebar

Install

npm i image-scaling_tiaozai

Weekly Downloads

0

Version

1.2.3

License

ISC

Unpacked Size

3.6 kB

Total Files

4

Last publish

Collaborators

  • tiaozai