babylonjs-gui 5.22.1 → 5.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/babylon.gui.d.ts CHANGED
@@ -211,7 +211,7 @@ declare module BABYLON.GUI {
211
211
  * Will return all controls that are inside this texture
212
212
  * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
213
213
  * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
214
- * @return all child controls
214
+ * @returns all child controls
215
215
  */
216
216
  getDescendants(directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): Control[];
217
217
  /**
@@ -223,7 +223,7 @@ declare module BABYLON.GUI {
223
223
  /**
224
224
  * Will return the first control with the given name
225
225
  * @param name defines the name to search for
226
- * @return the first control found or null
226
+ * @returns the first control found or null
227
227
  */
228
228
  getControlByName(name: string): BABYLON.Nullable<Control>;
229
229
  private _getControlByKey;
@@ -1545,7 +1545,7 @@ declare module BABYLON.GUI {
1545
1545
  * Will return all controls that have this control as ascendant
1546
1546
  * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
1547
1547
  * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
1548
- * @return all child controls
1548
+ * @returns all child controls
1549
1549
  */
1550
1550
  getDescendants(directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): Control[];
1551
1551
  /**
package/babylon.gui.js CHANGED
@@ -825,7 +825,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
825
825
  * Will return all controls that are inside this texture
826
826
  * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
827
827
  * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
828
- * @return all child controls
828
+ * @returns all child controls
829
829
  */
830
830
  AdvancedDynamicTexture.prototype.getDescendants = function (directDescendantsOnly, predicate) {
831
831
  return this._rootContainer.getDescendants(directDescendantsOnly, predicate);
@@ -841,7 +841,7 @@ var AdvancedDynamicTexture = /** @class */ (function (_super) {
841
841
  /**
842
842
  * Will return the first control with the given name
843
843
  * @param name defines the name to search for
844
- * @return the first control found or null
844
+ * @returns the first control found or null
845
845
  */
846
846
  AdvancedDynamicTexture.prototype.getControlByName = function (name) {
847
847
  return this._getControlByKey("name", name);
@@ -5758,7 +5758,7 @@ var Control = /** @class */ (function () {
5758
5758
  * Will return all controls that have this control as ascendant
5759
5759
  * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
5760
5760
  * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
5761
- * @return all child controls
5761
+ * @returns all child controls
5762
5762
  */
5763
5763
  Control.prototype.getDescendants = function (directDescendantsOnly, predicate) {
5764
5764
  var results = new Array();