فهرست منبع

removing optional

Raanan Weber 7 سال پیش
والد
کامیت
cac8653f4c
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      src/Tools/babylon.observable.ts

+ 3 - 3
src/Tools/babylon.observable.ts

@@ -218,9 +218,9 @@
          * The order of the callbacks is kept, callbacks are not executed parallel.
          * 
          * @param eventData The data to be sent to each callback
-         * @param [mask=-1] mask is used to filter observers
-         * @param [target] the callback target (see EventState)
-         * @param [currentTarget] 
+         * @param mask is used to filter observers defaults to -1
+         * @param target the callback target (see EventState)
+         * @param currentTarget The current object in the bubbling phase
          * @returns {Promise<T>} will return a Promise than resolves when all callbacks executed successfully.
          */
         public notifyObserversWithPromise(eventData: T, mask: number = -1, target?: any, currentTarget?: any): Promise<T> {