trait Interval extends Object

Interval Service - Angular's wrapper for window.setInterval.

Annotations
@RawJSType() @native()
See also

https://docs.angularjs.org/api/ng/service/$interval

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Interval
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(fn: Function, delay: Int = 0, count: Int = 0, invokeApply: Boolean = true, pass: Any = js.native): Promise[Any]

    Angular's wrapper for window.setInterval.

    Angular's wrapper for window.setInterval. The fn function is executed every delay milliseconds.

    fn

    A function that should be called repeatedly.

    delay

    Number of milliseconds between each function call.

    count

    Number of times to repeat. If not set, or 0, will repeat indefinitely (default: 0).

    invokeApply

    If set to false skips model dirty checking, otherwise will invoke fn within the $apply block (default: true).

    pass

    additional parameters to the executed function.

    returns

    A promise which will be notified on each iteration.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cancel(promise: UndefOr[Promise[Any]] = js.undefined): Boolean

    Cancels a task associated with the promise.

    Cancels a task associated with the promise.

    promise

    returned by the $interval function.

    returns

    true if the task was successfully canceled.

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flush(delay: Int = 0): Unit

    Synchronously flushes the queue of deferred functions.

    Synchronously flushes the queue of deferred functions.

    delay

    Delay in milliseconds.

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toLocaleString(): String
    Definition Classes
    Object
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def valueOf(): Any
    Definition Classes
    Object
  25. def verifyNoPendingTasks(): Boolean

    Verifies that there are no pending tasks that need to be flushed.

  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped