Interacting with editorsPresentation API事件onChangeCurrentSlide本页总览onChangeCurrentSlideAsk a question 当前幻灯片发生更改时调用的函数。 参数 名称数据类型描述indexnumber新激活幻灯片的索引。 window.Asc.plugin.attachEditorEvent('onChangeCurrentSlide', (index) => { console.log('Current slide changed to index: ' + index);});