myphoto-layer
v1.1.2
Published
安装: npm i mylayer-layer
Downloads
18
Readme
安装: npm i myphoto-layer
在需要的文件中引入:
import { photoInfo } from 'myphoto-layer'
参数:
id // 唯一标识,自定义
params // 扩展参数,目前包含width,height
使用方式: photoInfo('layerID_1')
扩展参数: photoInfo('layerID_1', { width: '300px', height: '200px' })