Skip to content

Commit 1052c1e

Browse files
authored
fix: Added string as prototype for width and height (#66)
Fix #65
1 parent 6c1136f commit 1052c1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/ContentLoader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ export default {
77

88
props: {
99
width: {
10-
type: Number,
10+
type: [Number, String],
1111
default: 400
1212
},
1313
height: {
14-
type: Number,
14+
type: [Number, String],
1515
default: 130
1616
},
1717
speed: {

0 commit comments

Comments
 (0)