Class Frame.WaitForFunctionOptions

  • Enclosing interface:
    Frame

    public static class Frame.WaitForFunctionOptions
    extends Object
    • Field Detail

      • pollingInterval

        public Double pollingInterval
        If specified, then it is treated as an interval in milliseconds at which the function would be executed. By default if the option is not specified expression is executed in requestAnimationFrame callback.
    • Constructor Detail

      • WaitForFunctionOptions

        public WaitForFunctionOptions()
    • Method Detail

      • setPollingInterval

        public Frame.WaitForFunctionOptions setPollingInterval​(double pollingInterval)
        If specified, then it is treated as an interval in milliseconds at which the function would be executed. By default if the option is not specified expression is executed in requestAnimationFrame callback.