UNPKG
jy-vue3-photo-preview
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
一个 vue3 的图片预览组件
github.com/NameWjp/vue3-photo-preview
NameWjp/vue3-photo-preview
jy-vue3-photo-preview
/
dist
/
types
/
PhotoView
/
useWindowResize.d.ts
3 lines
(2 loc)
•
243 B
TypeScript
View Raw
1
2
3
import
{
Ref
}
from
'vue'
;
export
default
function
useWindowResize
(
naturalWidth
:
Ref
<
number
>,
naturalHeight
:
Ref
<
number
>,
rotate
:
Ref
<
number
>,
setSuitableImageSize
: (actualWidth:
number
, actualHeight:
number
, rotate:
number
) =>
void
):
void
;