Skip to content

Commit 7b69a5a

Browse files
feat: umd install
1 parent 8c46636 commit 7b69a5a

11 files changed

+870
-9
lines changed

example/App.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
data() {
1818
return {
1919
image,
20-
config: {
21-
width:400,
22-
height:300,
23-
maskWidth:100,
24-
maskHeight:100,
25-
maskColor:'#fff',
26-
maskOpacity:0.5
27-
}
2820
}
2921
}
3022
}

lib/demo.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<meta charset="utf-8">
2+
<title>magnifier demo</title>
3+
<script src="./magnifier.umd.js"></script>
4+
5+
<link rel="stylesheet" href="./magnifier.css">
6+
7+
8+
<script>
9+
console.log(magnifier)
10+
</script>

0 commit comments

Comments
 (0)