Function onTrue

  • Iteratively calls a tester function you provide, calling another callback function once the tester function returns true. This function is useful for advanced JavaScript scenarios, such as cases where you are including common script files dynamically using the requiresScript() method, and need to wait until classes defined in those files are parsed and ready for use.

    Parameters

    Returns void

Generated using TypeDoc