@@ -934,12 +934,13 @@ function ScreenSpaceEventHandler(element) {
934
934
registerListeners ( this ) ;
935
935
}
936
936
937
+ // TODO: document callback signature for each type of event
937
938
/**
938
939
* Set a function to be executed on an input event.
939
940
*
940
941
* @param {Function } action Function to be executed when the input event occurs.
941
- * @param {Number } type The ScreenSpaceEventType of input event.
942
- * @param {Number } [modifier] A KeyboardEventModifier key that is held when a <code>type</code>
942
+ * @param {ScreenSpaceEventType } type The ScreenSpaceEventType of input event.
943
+ * @param {KeyboardEventModifier } [modifier] A KeyboardEventModifier key that is held when a <code>type</code>
943
944
* event occurs.
944
945
*
945
946
* @see ScreenSpaceEventHandler#getInputAction
@@ -966,8 +967,8 @@ ScreenSpaceEventHandler.prototype.setInputAction = function (
966
967
/**
967
968
* Returns the function to be executed on an input event.
968
969
*
969
- * @param {Number } type The ScreenSpaceEventType of input event.
970
- * @param {Number } [modifier] A KeyboardEventModifier key that is held when a <code>type</code>
970
+ * @param {ScreenSpaceEventType } type The ScreenSpaceEventType of input event.
971
+ * @param {KeyboardEventModifier } [modifier] A KeyboardEventModifier key that is held when a <code>type</code>
971
972
* event occurs.
972
973
*
973
974
* @returns {Function } The function to be executed on an input event.
@@ -989,8 +990,8 @@ ScreenSpaceEventHandler.prototype.getInputAction = function (type, modifier) {
989
990
/**
990
991
* Removes the function to be executed on an input event.
991
992
*
992
- * @param {Number } type The ScreenSpaceEventType of input event.
993
- * @param {Number } [modifier] A KeyboardEventModifier key that is held when a <code>type</code>
993
+ * @param {ScreenSpaceEventType } type The ScreenSpaceEventType of input event.
994
+ * @param {KeyboardEventModifier } [modifier] A KeyboardEventModifier key that is held when a <code>type</code>
994
995
* event occurs.
995
996
*
996
997
* @see ScreenSpaceEventHandler#getInputAction
0 commit comments