Skip to content

Commit 061e60e

Browse files
committed
flow line function support
1 parent 1783347 commit 061e60e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue3-openlayers",
3-
"version": "0.1.46",
3+
"version": "0.1.47",
44
"description": "Openlayers Wrapper for Vue3",
55
"repository": {
66
"type": "git",

Diff for: src/components/styles/FlowLine.vue

+5-2
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,23 @@ export default {
9595
},
9696
props: {
9797
color: {
98-
type: String
98+
type: [String,Function]
9999
},
100100
color2: {
101101
type: String
102102
},
103103
width: {
104-
type: Number
104+
type: [Number,Function]
105105
},
106106
width2: {
107107
type: Number
108108
},
109109
arrow: {
110110
type: Number
111111
},
112+
arrowColor: {
113+
type: String
114+
},
112115
113116
}
114117

0 commit comments

Comments
 (0)