1.0.8 • Published 4 years ago

pic-marker v1.0.8

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

pic-marker

A Tool for Marking Pictures. Similar to editing after screenshots. Now,only for Vue

npm version Image text

Installation

Install from GitHub via NPM

npm install pic-marker

Usage

To use pic-marker, simply import it and the css file, and call Vue.use() to install.

<template>
  <div id="app">
    <!-- component -->
     <pic-marker 
       :picUrl="picUrl" //图片地址
       @close="handelClose" //点击关闭图标的回调
       @complete="handelComplete"//点击完成图标的回调
     />
  </div>
</template>

main.js

import Vue from 'vue'
import Marker from 'pic-marker'
import 'pic-marker/lib/pic-marker.css'
Vue.use(Marker)

new Vue({
  router,
  store,
  components: { App },
  template: '<App/>',
}).$mount('#app')
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago