Mootools如何在完整的补间中执行代码?
我有这个:
this.slides[this.slideIndex].set('tween', {duration: '3000'});
this.slides[this.slideIndex].tween('opacity', '1');
例如,我如何在效果完成后显示警报消息?
I have this:
this.slides[this.slideIndex].set('tween', {duration: '3000'});
this.slides[this.slideIndex].tween('opacity', '1');
how can i for example show an alert message after the effect has completed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你可以使用
you can use
您必须使用
Chain
功能。使用
chain()
方法,您可以链接任意数量函数的执行。请参阅此处: http://mootools.net/docs/core/Class/Class.Extras< /a>You must use the
Chain
feature.With
chain()
method you can chain the execution of any number of functions. See here: http://mootools.net/docs/core/Class/Class.Extras