SmartPhoto
SmartPhoto copied to clipboard
需要一个 destory 方法
需要一个 destory 方法
为什么不能直接点击图片就destory?
Hi @mrlelong @HUANGXUEZHI97 I just added destroy method from v1.6.0 plz use like this
const sm = new SmartPhoto('element');
sm.destroy();
Closing in favor of 2f3ccf4d41132af947a461a1708941bc3966c7ff , please re-open if that PR would not cover this case.