【文件属性】:
文件名称:jeep-photoviewer:PhotoViewer模具组件
文件大小:135KB
文件格式:ZIP
更新时间:2021-03-25 21:24:31
TypeScript
吉普车照片浏览器
模版Web组件,使用CSS网格将一组图像显示为Gallery,并使用CSS捕捉点遍历图像。 可以使用zoom in/out and pan功能以fullscreen模式查看选定的图像。
Web组件标签主要是图像的Photoviewer画廊,并使用以下嵌入式组件:
在图像中水平滚动。
按钮组(“ Share ,“ Fullscreen ,“ Close )可以visible或hidden (单击)。
放大(双击)/缩小(单击)和平移功能。
基于Web Share API。 与Web Share API不兼容的浏览器没有后备功能。
所有组件均使用Shadow DOM
入门
脚本标签
放置一个与此类似的脚本标签
< script type =" module " src =" https://unpkg.com/jeep-photoviewer/dist/j
【文件预览】:
jeep-photoviewer-master
----src()
--------index.html(2KB)
--------utils()
--------index.ts(48B)
--------components.d.ts(7KB)
--------components()
--------interfaces()
----stencil.config.ts(382B)
----.prettierrc.json(266B)
----tsconfig.json(469B)
----LICENSE(1KB)
----.editorconfig(244B)
----.gitignore(245B)
----readme.md(5KB)
----package-lock.json(421KB)
----package.json(1KB)