mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-22 13:30:35 +03:00
feat: add prop icon-day to set calendar icon day
This commit is contained in:
+4
-1
@@ -42,7 +42,7 @@
|
|||||||
<line x1="46" x2="46" y1="8" y2="50" />
|
<line x1="46" x2="46" y1="8" y2="50" />
|
||||||
<line x1="154" x2="154" y1="8" y2="50" />
|
<line x1="154" x2="154" y1="8" y2="50" />
|
||||||
<line x1="13" x2="187" y1="70" y2="70" />
|
<line x1="13" x2="187" y1="70" y2="70" />
|
||||||
<text x="50%" y="135" font-size="90" stroke-width="1" text-anchor="middle" dominant-baseline="middle">{{new Date().getDate()}}</text>
|
<text x="50%" y="135" font-size="90" stroke-width="1" text-anchor="middle" dominant-baseline="middle">{{iconDay}}</text>
|
||||||
</svg>
|
</svg>
|
||||||
</slot>
|
</slot>
|
||||||
</span>
|
</span>
|
||||||
@@ -204,6 +204,9 @@ export default {
|
|||||||
},
|
},
|
||||||
popupStyle: {
|
popupStyle: {
|
||||||
type: Object
|
type: Object
|
||||||
|
},
|
||||||
|
iconDay: {
|
||||||
|
type: [Number, String]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
Reference in New Issue
Block a user