This reduces the time between timetick events to about 12 milliseconds.
这会将 timetick事件之间的时间减少到大约12 毫秒。
But these timeout and timetick functions do not become methods of any object.
但是,这些timeout和timetick函数不会成为任何对象的方法。
Each time a timetick event occurs in FadeIn state, the handleEvent method will call a function that increases the opacity of the tooltip slightly.
每当在FadeIn状态下发生timetick事件时,handleEvent方法将调用一个函数,它略微增加工具提示的不透明度。
If your timetick event handler takes longer than this, or there is contention for the processor, your animations might become jerky, or the browser might become unresponsive.
如果timetick事件处理器花费的时间超过这个值,或者有其他活动争夺处理器,那么动画可能变得不平滑,或者浏览器变得响应缓慢。
If your timetick event handler takes longer than this, or there is contention for the processor, your animations might become jerky, or the browser might become unresponsive.
如果timetick事件处理器花费的时间超过这个值,或者有其他活动争夺处理器,那么动画可能变得不平滑,或者浏览器变得响应缓慢。
应用推荐