File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ export interface V3dPlayerOptions {
117117 unique ?: string | undefined
118118}
119119
120+ type __VLS_WithTemplateSlots < T , S > = T & {
121+ new ( ) : {
122+ $slots : S
123+ }
124+ }
125+
120126declare const V3dPlayer : __VLS_WithTemplateSlots <
121127 import ( 'vue' ) . DefineComponent <
122128 {
Original file line number Diff line number Diff line change 11{
22 "name" : " v3d-player" ,
3- "version" : " 1.1.1 " ,
3+ "version" : " 1.1.2 " ,
44 "description" : " Vue3 Dplayer-Lite" ,
55 "main" : " dist/v3d-player.umd.js" ,
66 "module" : " dist/v3d-player.es.js" ,
Original file line number Diff line number Diff line change 5757 <input
5858 type =" checkbox"
5959 class =" demo-check"
60- name =" options-snapshot "
61- v-model =" self.snapshot "
60+ name =" options-screenshot "
61+ v-model =" self.screenshot "
6262 />
63- <label for =" options-snapshot " >snapshot </label >
63+ <label for =" options-screenshot " >screenshot </label >
6464 </div >
6565 <div class =" demo-control" >
6666 <input type =" text" class =" demo-url" v-model =" self.src" />
@@ -83,7 +83,7 @@ interface Data {
8383 record: boolean
8484 connect: boolean
8585 hasAudio: boolean
86- snapshot : boolean
86+ screenshot : boolean
8787}
8888
8989const _data: Data = {
@@ -96,7 +96,7 @@ const _data: Data = {
9696 record: true ,
9797 connect: true ,
9898 hasAudio: true ,
99- snapshot : true
99+ screenshot : true
100100}
101101
102102let self = reactive (_data )
@@ -120,7 +120,7 @@ const play = () => {
120120 allowPause: true ,
121121 autoplay: true ,
122122 muted: false ,
123- screenshot: self .snapshot ,
123+ screenshot: self .screenshot ,
124124 closeTime: 0 ,
125125 // controls: true,
126126 preventClickToggle: true ,
You can’t perform that action at this time.
0 commit comments