You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/easeljs/display/Stage.js
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -304,17 +304,18 @@ var p = Stage.prototype = new Container();
304
304
/**
305
305
* Enables or disables (by passing a frequency of 0) mouse over handlers (onMouseOver and onMouseOut) for this stage's display
306
306
* list. These events can be expensive to generate, so they are disabled by default, and the frequency of the events
307
-
* can be controlled independently of mouse move events via the frequency parameter.
307
+
* can be controlled independently of mouse move events via the optional frequency parameter.
308
308
* @method enableMouseOver
309
-
* @param {Number} frequency The maximum number of times per second to broadcast mouse over/out events. Set to 0 to disable mouse
310
-
* over events completely. Maximum is 50. A lower frequency is less responsive, but uses less CPU.
309
+
* @param {Number} frequency Optional param specifying the maximum number of times per second to broadcast mouse over/out events. Set to 0 to disable mouse
310
+
* over events completely. Maximum is 50. A lower frequency is less responsive, but uses less CPU. Default is 20.
0 commit comments