2***@qq.com
2***@qq.com
  • 发布:2022-08-05 13:13
  • 更新:2022-08-05 13:13
  • 阅读:326

ImageSlider点击事件无法触发

分类:HTML5+
const view = new plus.nativeObj.ImageSlider('slider',  
    {  
        width: '800px',  
        height: '436px',  
        backgroundColor: '#000',  
        autoplay: true,  
        interval: 3000,  
        loop: true,  
        images: [  
            { src: 'https://cdn.novenn.com/random/images/2020-04-27.jpg' },  
            { src: 'https://cdn.novenn.com/random/images/2020-06-28.jpg' }  
        ]  
    });  

view.addEventListener('click', (e) => {  
    console.log(e);  
})  

view.show()
2022-08-05 13:13 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复